WMMT5 Open Parrot Loader
Including all research, saving and stuff. Please improve!
This commit is contained in:
parent
d0799deaa7
commit
df72875f11
1127
OpenParrot/src/Functions/Games/ES3X/WMMT5.cpp
Normal file
1127
OpenParrot/src/Functions/Games/ES3X/WMMT5.cpp
Normal file
File diff suppressed because it is too large
Load Diff
@ -330,7 +330,7 @@ BOOL __stdcall Hook_ClearCommError(HANDLE hFile, LPDWORD lpErrors, LPCOMSTAT lpS
|
||||
MH_CreateHookApi(L ## mod, #name, &Hook_##name, (void**)&__##name)
|
||||
|
||||
static InitFunction jvsInit([]()
|
||||
{
|
||||
{
|
||||
if (GameDetect::IsNesicaGame())
|
||||
{
|
||||
return;
|
||||
|
@ -337,6 +337,18 @@ void GameDetect::DetectCurrentGame()
|
||||
currentGame = GameID::PokkenTournament;
|
||||
break;
|
||||
}
|
||||
// PATCHES 0-9
|
||||
if (*(uint32_t*)(moduleBase + 0x2F00) == 0xFFCB8B48)
|
||||
{
|
||||
currentGame = GameID::WMMT5;
|
||||
break;
|
||||
}
|
||||
// PATCHES 10-21
|
||||
if (*(uint32_t*)(moduleBase + 0x2F00) == 0x084AFF48)
|
||||
{
|
||||
currentGame = GameID::WMMT5;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
@ -41,5 +41,6 @@ enum class GameID
|
||||
PokkenTournament,
|
||||
ExBoardGeneric,
|
||||
GrooveCoaster2,
|
||||
PuzzleBobble
|
||||
PuzzleBobble,
|
||||
WMMT5
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user