1
0
mirror of synced 2025-02-12 16:54:34 +01:00

Fix School of Ragnarok

School of Ragnarok CRC detection somehow broke
This commit is contained in:
Nezarn 2019-12-08 11:33:49 +01:00
parent eb711c87be
commit b296360d17

View File

@ -428,11 +428,11 @@ void GameDetect::DetectCurrentGame()
#else #else
// X64 // X64
// School of Ragnarok // School of Ragnarok
if (*(uint32_t *)(moduleBase + 0x396E) == 0x2180B841) //if (*(uint32_t *)(moduleBase + 0x396E) == 0x2180B841)
{ //{
currentGame = GameID::SchoolOfRagnarok; // currentGame = GameID::SchoolOfRagnarok;
isNesica = true; // isNesica = true;
} //}
if (*(uint32_t*)(moduleBase + 0x1C04) == 0x7401C3F6) if (*(uint32_t*)(moduleBase + 0x1C04) == 0x7401C3F6)
{ {
currentGame = GameID::PokkenTournament; currentGame = GameID::PokkenTournament;
@ -490,6 +490,10 @@ void GameDetect::DetectCurrentGame()
case 0xe1e9e32c: // JPN case 0xe1e9e32c: // JPN
currentGame = GameID::StarWarsJapEs3X; currentGame = GameID::StarWarsJapEs3X;
break; break;
case 0x30F676AD:
currentGame = GameID::SchoolOfRagnarok;
isNesica = true;
break;
#endif #endif
default: default:
#ifdef _DEBUG #ifdef _DEBUG