Fixed a bug that caused the Cocoa port to freeze sometimes if the emulator was reset while debugging.

This commit is contained in:
Lior Halphon 2016-09-03 13:34:49 +03:00
parent a2d77b1754
commit a6c5a8fdaa
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ typedef struct GB_gameboy_s {
size_t ir_queue_length;
/*** Debugger ***/
bool debug_stopped;
volatile bool debug_stopped;
bool debug_fin_command, debug_next_command;
/* Breakpoints */