do init after load_game (mednafen boots now)
This commit is contained in:
parent
da42dc1f6a
commit
5944c5c1cb
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue