mirror of
https://github.com/FranLMSP/rmg-001.git
synced 2024-11-23 10:12:11 +00:00
fix bug when emulator close is triggered twice
This commit is contained in:
parent
52ad064ab5
commit
275cfb847f
@ -10,7 +10,7 @@ Any help or suggestion is welcome!
|
||||
- [x] Interrupts
|
||||
- [x] Timer
|
||||
- [x] Joypad (not configurable yet)
|
||||
- [X] PPU implementations
|
||||
- [x] PPU implementations
|
||||
- [x] Render the pixels
|
||||
- [ ] MBC Implementations
|
||||
- [x] NoMBC
|
||||
|
@ -77,7 +77,6 @@ pub fn start_eventloop() {
|
||||
..
|
||||
} => {
|
||||
println!("The close button was pressed; stopping");
|
||||
emulator.close();
|
||||
*control_flow = ControlFlow::Exit
|
||||
},
|
||||
Event::MainEventsCleared => {
|
||||
|
Loading…
Reference in New Issue
Block a user