From 515eff968f6801afd6466f35369b326242a01f9c Mon Sep 17 00:00:00 2001 From: lifning <> Date: Fri, 10 Mar 2023 00:55:50 -0800 Subject: [PATCH] no sleep --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1ef134b..d01c050 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,13 +38,12 @@ fn main() -> Result<(), Box> { vars_comp.insert("mgba_skip_bios", "ON"); vars_comp.insert("mgba_sgb_borders", "OFF"); emu.register_component(vars_comp)?; - emu.register_component(SleepFramerateLimitComponent::default())?; + //emu.register_component(SleepFramerateLimitComponent::default())?; emu.init()?; emu.load_game(&opt.rom)?; - while let ControlFlow::Continue = emu.run() { - } + while let ControlFlow::Continue = emu.run() {} Ok(()) }