From aa4a898a6b11ca6c4319cfaba98930aa819f035e Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Wed, 9 Jun 2021 13:45:12 -0500 Subject: [PATCH] fix: resolve type issue with debug feature enabled --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 666288a..c489ba9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -148,7 +148,7 @@ fn main() -> Result<()> { if step_mode { if input.key_pressed(VirtualKeyCode::Space) { if let Some(event) = gilrs.next_event() { - handle_gamepad_input(&mut game_boy, event); + handle_gamepad_input(&mut game_boy.bus.joypad, event); } for _ in 0..egui.config.spacebar_step {