do init after load_game (mednafen boots now)

This commit is contained in:
Lily Tsuru 2024-08-05 00:37:29 -04:00
parent da42dc1f6a
commit 5944c5c1cb

View file

@ -170,12 +170,13 @@ fn main() -> Result<()> {
app.load_core(core_path)?;
// Initalize app
app.init();
if let Some(rom_path) = matches.get_one::<String>("rom") {
app.load_game(rom_path)?
}
// Initalize app
app.init();
app.main_loop();
}