This commit is contained in:
lifning 2023-03-10 00:55:50 -08:00
parent f01e1d4cd9
commit 515eff968f

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(())
}