mirror of
https://github.com/FranLMSP/snes.git
synced 2026-08-03 08:30:01 -04:00
emulation loop frame
This commit is contained in:
@@ -24,6 +24,9 @@ impl eframe::App for SnesEmulatorApp {
|
|||||||
ui.separator();
|
ui.separator();
|
||||||
// ui::game::build_game_window(ctx);
|
// ui::game::build_game_window(ctx);
|
||||||
});
|
});
|
||||||
|
if !self.state.emulation_state.is_paused {
|
||||||
|
self.emulator.loop_frame();
|
||||||
|
}
|
||||||
emu_ui::debug::build_all_debug_options(ctx, &mut self.state.debug_options, &mut self.state.emulation_state, &mut self.emulator);
|
emu_ui::debug::build_all_debug_options(ctx, &mut self.state.debug_options, &mut self.state.emulation_state, &mut self.emulator);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user