diff --git a/desmume/src/frontend/interface/interface.cpp b/desmume/src/frontend/interface/interface.cpp index 9eb14f0cb..4ba60554a 100644 --- a/desmume/src/frontend/interface/interface.cpp +++ b/desmume/src/frontend/interface/interface.cpp @@ -39,7 +39,7 @@ #define SCREENS_PIXEL_SIZE 98304 volatile bool execute = false; -volatile bool rom_opened = false; +static bool rom_opened = false; TieredRegion hooked_regions [HOOK_COUNT]; std::map hooks[HOOK_COUNT];