cheatSystem: headerId should be const

This commit is contained in:
riccardom 2011-07-23 15:34:00 +00:00
parent 657759c3f4
commit 4bfd29c702
1 changed files with 1 additions and 1 deletions

View File

@ -1132,7 +1132,7 @@ bool CHEATSEXPORT::load(char *path)
return false;
}
char *headerID = "R4 CheatCode";
const char *headerID = "R4 CheatCode";
char buf[255] = {0};
fread(buf, 1, strlen(headerID), fp);
if (strncmp(buf, headerID, strlen(headerID)) != 0)