Skip to content

Commit

Permalink
Add another possible format to Gameshark codes
Browse files Browse the repository at this point in the history
`XXXXXXXX ??XX` seems to be used for some game cheats, such as one in Conker's Bad Fur Day. This should fix #2009.
  • Loading branch information
flagrama committed Mar 11, 2021
1 parent 559de5c commit a54e1df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Project64-core/N64System/Enhancement/Enhancement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -446,4 +447,4 @@ void CEnhancement::CheckValid(void)
}
m_NameAndExtension = stdstr_f("%s (=>%s)", m_Name.c_str(), CheatValue.c_str());
}
}
}

0 comments on commit a54e1df

Please sign in to comment.