diff --git a/src/wx/sys.cpp b/src/wx/sys.cpp index 6efda6ce..d5a559b0 100644 --- a/src/wx/sys.cpp +++ b/src/wx/sys.cpp @@ -1159,10 +1159,14 @@ void systemScreenMessage(const char* msg) bool systemCanChangeSoundQuality() { #ifndef NO_FFMPEG - GameArea* panel = wxGetApp().frame->GetPanel(); - if (panel) - return !panel->IsRecording(); + if (emulating) + { + GameArea* panel = wxGetApp().frame->GetPanel(); + + if (panel) + return !panel->IsRecording(); + } #endif return wxGetApp().IsMainLoopRunning();