From 5944c5c1cbb1ba67c790da9eb3434fe0ef9ad5f7 Mon Sep 17 00:00:00 2001 From: modeco80 Date: Mon, 5 Aug 2024 00:37:29 -0400 Subject: [PATCH] do init after load_game (mednafen boots now) --- crates/retrovnc/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/retrovnc/src/main.rs b/crates/retrovnc/src/main.rs index c6b19e1..1b63553 100644 --- a/crates/retrovnc/src/main.rs +++ b/crates/retrovnc/src/main.rs @@ -170,12 +170,13 @@ fn main() -> Result<()> { app.load_core(core_path)?; - // Initalize app - app.init(); if let Some(rom_path) = matches.get_one::("rom") { app.load_game(rom_path)? } + + // Initalize app + app.init(); app.main_loop(); }