Compare commits

..

No commits in common. "sleepless" and "trunk" have entirely different histories.

View file

@ -38,12 +38,13 @@ 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(())
} }