fix: resolve type issue with debug feature enabled

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-06-09 13:45:12 -05:00
parent a904503b90
commit aa4a898a6b
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ fn main() -> Result<()> {
if step_mode { if step_mode {
if input.key_pressed(VirtualKeyCode::Space) { if input.key_pressed(VirtualKeyCode::Space) {
if let Some(event) = gilrs.next_event() { 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 { for _ in 0..egui.config.spacebar_step {