mirror of
https://github.com/TASEmulators/fceux.git
synced 2026-10-12 02:09:51 +00:00
"build fix for latest clang"
This commit is contained in:
+1
-1
@@ -216,7 +216,7 @@ void FCEU_LoadGameCheats(FILE *override)
|
||||
}
|
||||
|
||||
FCEU_DispMessage("Cheats file loaded.",0); //Tells user a cheats file was loaded.
|
||||
while(fgets(linebuf,2048,fp)>0)
|
||||
while(fgets(linebuf,2048,fp) != nullptr)
|
||||
{
|
||||
char *tbuf=linebuf;
|
||||
int doc=0;
|
||||
|
||||
Reference in New Issue
Block a user