Add another possible format to Gameshark codes

`XXXXXXXX ??XX` seems to be used for some game cheats, such as one in Conker's Bad Fur Day. This should fix #2009.
This commit is contained in:
Vincent Cunningham 2021-03-11 15:32:44 -05:00 committed by GitHub
parent 559de5ccdc
commit a54e1dfbdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -217,6 +217,7 @@ CEnhancement::CEnhancement(const char * Ident, const char * Entry) :
}
if (strcmp(TempFormat, "XXXXXXXX XXXX") != 0 &&
strcmp(TempFormat, "XXXXXXXX XX??") != 0 &&
strcmp(TempFormat, "XXXXXXXX ??XX") != 0 &&
strcmp(TempFormat, "XXXXXXXX ????") != 0 &&
strcmp(TempFormat, "XXXXXXXX XXXX:XXXX") != 0)
{
@ -446,4 +447,4 @@ void CEnhancement::CheckValid(void)
}
m_NameAndExtension = stdstr_f("%s (=>%s)", m_Name.c_str(), CheatValue.c_str());
}
}
}