diff options
author | Astatin <[email protected]> | 2025-08-24 17:19:47 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-08-24 17:19:47 +0200 |
commit | 219157faec53a8f2df8912ef3ae4e7941fa23305 (patch) | |
tree | a89ddbe02bf3502b3c2e0379f1aebec1da7b7e73 /src/desktop/input.rs | |
parent | 70b95279579146bf46910257f8e0ecb1ff62b24f (diff) |
Diffstat (limited to 'src/desktop/input.rs')
-rw-r--r-- | src/desktop/input.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/desktop/input.rs b/src/desktop/input.rs index bc8b29d..760158c 100644 --- a/src/desktop/input.rs +++ b/src/desktop/input.rs @@ -327,6 +327,14 @@ impl Input for GamepadReplay { self.action_reg = inputs[0]; self.direction_reg = inputs[1]; + log( + LogLevel::Debug, + format!( + "input update on cycle {} ! 0x{:02x} 0x{:02x}", + cycles, self.action_reg, self.direction_reg + ), + ); + let mut cycles_le: [u8; 16] = [0; 16]; self.next_cycle_update = match self.record_file.read_exact(&mut cycles_le) { |