Add error message when content loading failed

This commit is contained in:
twinaphex
2016-07-19 19:06:09 +02:00
parent 368f2e6f4f
commit 72e74d6fcc
2 changed files with 12 additions and 1 deletions

View File

@@ -266,7 +266,7 @@ FCEUGI *FCEUI_LoadGame(const char *name, uint8_t *databuf, size_t databufsize)
if (FDSLoad(name, fp))
goto endlseq;
FCEU_PrintError("An error occurred while loading the file.");
FCEU_PrintError("An error occurred while loading the file.\n");
FCEU_fclose(fp);
return 0;