no sleep
This commit is contained in:
parent
f01e1d4cd9
commit
515eff968f
|
@ -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(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue