From 39726966eb9916899f426e1e3d5984ea31d96c80 Mon Sep 17 00:00:00 2001 From: Amjad Alsharafi Date: Wed, 9 Sep 2020 17:01:10 +0800 Subject: [PATCH] NES: do not freeze if the Mapper is not supported 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) --- nes_ui_base/src/nes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nes_ui_base/src/nes.rs b/nes_ui_base/src/nes.rs index 9c6463e..7f897bd 100644 --- a/nes_ui_base/src/nes.rs +++ b/nes_ui_base/src/nes.rs @@ -446,7 +446,7 @@ impl NES

{ self.reset(); handle_apu_after_reset!(); } else { - break; + println!("This game is not supported yet"); } send_present_save_states_to_ui!(); }