Fixed Solar and Zoness

This commit is contained in:
KiritoDv
2024-04-07 18:01:42 -06:00
parent 1507de1243
commit f9449fa185
9 changed files with 42 additions and 48 deletions
+6 -2
View File
@@ -144,8 +144,12 @@ extern "C" uint32_t GameEngine_GetGameVersion() {
return 0x00000001;
}
extern "C" int GameEngine_OTRSigCheck(const char* data) {
static const char* sOtrSignature = "__OTR__";
static const char* sOtrSignature = "__OTR__";
extern "C" uint8_t GameEngine_OTRSigCheck(const char* data) {
if(data == nullptr) {
return 0;
}
return strncmp(data, sOtrSignature, strlen(sOtrSignature)) == 0;
}