Skip to content

Commit

Permalink
NES: do not freeze if the Mapper is not supported
Browse files Browse the repository at this point in the history
It will function now as if the GUI was run without a cartridge. (paused)
But the frame will be the lastest from the lastest game ran. (i.e. not
black)
  • Loading branch information
Amjad50 committed Sep 9, 2020
1 parent 853705a commit 3972696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nes_ui_base/src/nes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ impl<P: UiProvider + Send + 'static> NES<P> {
self.reset();
handle_apu_after_reset!();
} else {
break;
println!("This game is not supported yet");
}
send_present_save_states_to_ui!();
}
Expand Down

0 comments on commit 3972696

Please sign in to comment.