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,8 +107,11 @@ void FCEUD_PrintError(const char *errormsg)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s\n", errormsg);
|
fprintf(stderr, "%s\n", errormsg);
|
||||||
|
|
||||||
|
if ( consoleWindow )
|
||||||
|
{
|
||||||
consoleWindow->QueueErrorMsgWindow( errormsg );
|
consoleWindow->QueueErrorMsgWindow( errormsg );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Opens a file, C++ style, to be read a byte at a time.
|
* Opens a file, C++ style, to be read a byte at a time.
|
||||||
|
|
Loading…
Reference in New Issue