Fixed the crash on boot that would occur with FFMPEG enabled.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1462 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
378d4fd813
commit
0fe65b45f2
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue