[ 1962778 ] loading an FDS game without having disksys.rom crashes FCEU
This commit is contained in:
parent
b662f92cfe
commit
b7b815d711
|
@ -355,10 +355,10 @@ FCEUGI *FCEUI_LoadGame(const char *name, int OverwriteVidMode)
|
||||||
goto endlseq;
|
goto endlseq;
|
||||||
|
|
||||||
FCEU_PrintError("An error occurred while loading the file.");
|
FCEU_PrintError("An error occurred while loading the file.");
|
||||||
FCEUD_PrintError("An error occurred while loading the file.");
|
|
||||||
FCEU_fclose(fp);
|
FCEU_fclose(fp);
|
||||||
|
|
||||||
delete GameInfo;
|
delete GameInfo;
|
||||||
|
GameInfo = 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue