Compare commits

...

1 commit

Author SHA1 Message Date
lifning 515eff968f no sleep 2023-03-10 00:55:50 -08:00

View file

@ -38,13 +38,12 @@ fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
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(())
}