- fix for non WIN32 compilers;

This commit is contained in:
mtabachenko 2009-12-20 14:36:43 +00:00
parent 9d56185bc2
commit 659b0dbcb6
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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;