diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index b0777e6b3..1629cb1d2 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -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); diff --git a/desmume/src/cheatSystem.cpp b/desmume/src/cheatSystem.cpp index 9c2ac4f95..d8e0c2cd6 100644 --- a/desmume/src/cheatSystem.cpp +++ b/desmume/src/cheatSystem.cpp @@ -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;