Merge pull request #2010 from flagrama/patch-1

Add another possible format to Gameshark codes
This commit is contained in:
zilmar 2021-03-12 07:16:11 +10:30 committed by GitHub
commit 02ddeaf654
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());
}
}
}