Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
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_skip_bios", "ON");
|
||||||
vars_comp.insert("mgba_sgb_borders", "OFF");
|
vars_comp.insert("mgba_sgb_borders", "OFF");
|
||||||
emu.register_component(vars_comp)?;
|
emu.register_component(vars_comp)?;
|
||||||
emu.register_component(SleepFramerateLimitComponent::default())?;
|
//emu.register_component(SleepFramerateLimitComponent::default())?;
|
||||||
|
|
||||||
emu.init()?;
|
emu.init()?;
|
||||||
emu.load_game(&opt.rom)?;
|
emu.load_game(&opt.rom)?;
|
||||||
|
|
||||||
while let ControlFlow::Continue = emu.run() {
|
while let ControlFlow::Continue = emu.run() {}
|
||||||
}
|
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue