From 219157faec53a8f2df8912ef3ae4e7941fa23305 Mon Sep 17 00:00:00 2001 From: Astatin Date: Sun, 24 Aug 2025 17:19:47 +0200 Subject: Fix serial read_control --- src/desktop/input.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/desktop/input.rs') 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) { -- cgit v1.2.3-70-g09d2