From b7b815d711791a8dacbc753cb942928584d1422f Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 19 May 2008 05:59:20 +0000 Subject: [PATCH] [ 1962778 ] loading an FDS game without having disksys.rom crashes FCEU --- src/fceu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fceu.cpp b/src/fceu.cpp index e2bff793..8ad60bfb 100644 --- a/src/fceu.cpp +++ b/src/fceu.cpp @@ -355,10 +355,10 @@ FCEUGI *FCEUI_LoadGame(const char *name, int OverwriteVidMode) goto endlseq; FCEU_PrintError("An error occurred while loading the file."); - FCEUD_PrintError("An error occurred while loading the file."); FCEU_fclose(fp); delete GameInfo; + GameInfo = 0; return 0;