mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 11:15:39 +00:00
Make failure to open file a fatal error
This commit is contained in:
1 parent
82e0e4ffaf
commit
5b6c1569a4
1 file changed
+2
-2
+2
-2
@@ -544,8 +544,8 @@ void fstk_Init(char *pFileName)
|
||||
} else {
|
||||
pCurrentFile = fopen(pFileName, "rb");
|
||||
if (pCurrentFile == NULL)
|
||||
yyerror("Unable to open file '%s': %s", pFileName,
|
||||
strerror(errno));
|
||||
fatalerror("Unable to open file '%s': %s", pFileName,
|
||||
strerror(errno));
|
||||
}
|
||||
nFileStackDepth = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user