diff --git a/Core/gb.h b/Core/gb.h index 7600606..bd8d0eb 100644 --- a/Core/gb.h +++ b/Core/gb.h @@ -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 */