uniform GameEngine_OTRSigCheck

This commit is contained in:
coco875
2025-01-05 11:30:10 +01:00
parent a82fbbdfd9
commit 6eb35d2bf8
4 changed files with 16 additions and 10 deletions
+1 -2
View File
@@ -371,8 +371,7 @@ extern "C" uint32_t GameEngine_GetGameVersion() {
static const char* sOtrSignature = "__OTR__";
extern "C" uint8_t GameEngine_OTRSigCheck(const char* data) {
static const char* sOtrSignaturea = "__OTR__";
extern "C" bool GameEngine_OTRSigCheck(const char* data) {
return strncmp(data, sOtrSignature, strlen(sOtrSignature)) == 0;
}