This commit is contained in:
dborth 2009-06-29 06:54:27 +00:00
parent 4954c7f9d5
commit 1bc5df7077

View File

@ -1487,7 +1487,7 @@ static int FindGameSaveNum(char * savefile, int method)
}
else if(savefile[romlen] == ' ')
{
if(diff == 5 && strncmp((const char *)savefile[romlen+1], "Auto", 4) == 0)
if(diff == 5 && strncmp(&savefile[romlen+1], "Auto", 4) == 0)
n = 0; // found Auto save
else if(diff == 2 || diff == 3)
n = atoi(&savefile[romlen+1]);