- fix for non WIN32 compilers;
This commit is contained in:
parent
9d56185bc2
commit
659b0dbcb6
|
@ -524,7 +524,7 @@ int NDS_LoadROM(const char *filename, const char *logicalFilename)
|
|||
path.getpathnoext(path.CHEATS, buf);
|
||||
|
||||
strcat(buf, ".dct"); // DeSmuME cheat :)
|
||||
cheatsInit(buf);
|
||||
cheats->init(buf);
|
||||
|
||||
gameInfo.populate();
|
||||
gameInfo.crc = crc32(0,data,size);
|
||||
|
|
|
@ -602,7 +602,7 @@ BOOL CHEATS::load()
|
|||
|
||||
if (flist)
|
||||
{
|
||||
INFO("Load lists: %s\n", filename);
|
||||
INFO("Load cheats: %s\n", filename);
|
||||
clear();
|
||||
last = 0; line = 0;
|
||||
while (!feof(flist))
|
||||
|
@ -663,7 +663,7 @@ BOOL CHEATS::load()
|
|||
|
||||
fclose(flist);
|
||||
num = last;
|
||||
INFO("Added %i list codes\n", num);
|
||||
INFO("Added %i cheat codes\n", num);
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue