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:
parent
559de5ccdc
commit
a54e1dfbdb
|
@ -217,6 +217,7 @@ CEnhancement::CEnhancement(const char * Ident, const char * Entry) :
|
||||||
}
|
}
|
||||||
if (strcmp(TempFormat, "XXXXXXXX XXXX") != 0 &&
|
if (strcmp(TempFormat, "XXXXXXXX XXXX") != 0 &&
|
||||||
strcmp(TempFormat, "XXXXXXXX XX??") != 0 &&
|
strcmp(TempFormat, "XXXXXXXX XX??") != 0 &&
|
||||||
|
strcmp(TempFormat, "XXXXXXXX ??XX") != 0 &&
|
||||||
strcmp(TempFormat, "XXXXXXXX ????") != 0 &&
|
strcmp(TempFormat, "XXXXXXXX ????") != 0 &&
|
||||||
strcmp(TempFormat, "XXXXXXXX XXXX:XXXX") != 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());
|
m_NameAndExtension = stdstr_f("%s (=>%s)", m_Name.c_str(), CheatValue.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue