diff --git a/sources/SNES.cpp b/sources/SNES.cpp index 004dc1e..2ea7edb 100644 --- a/sources/SNES.cpp +++ b/sources/SNES.cpp @@ -40,6 +40,8 @@ namespace ComSquare #ifdef DEBUGGER_ENABLED auto cpuDebug = std::static_pointer_cast(this->cpu); cpuDebug->showError(exception); + #else + (void)exception; #endif }