Bug fix for Qt GUI crashing when to load a non-existant ROM via the command line.
This commit is contained in:
parent
ca005b498b
commit
3ae463d1f2
|
@ -107,7 +107,10 @@ void FCEUD_PrintError(const char *errormsg)
|
|||
{
|
||||
fprintf(stderr, "%s\n", errormsg);
|
||||
|
||||
consoleWindow->QueueErrorMsgWindow( errormsg );
|
||||
if ( consoleWindow )
|
||||
{
|
||||
consoleWindow->QueueErrorMsgWindow( errormsg );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue