fix: resolve type issue with debug feature enabled
This commit is contained in:
parent
a904503b90
commit
aa4a898a6b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue