1
0
mirror of synced 2024-11-14 23:07:36 +01:00

GrooveCoaster 2 added, boots to a black screen

This commit is contained in:
Reaver 2018-09-12 22:08:49 +03:00
parent f2df10a02c
commit f5c6759b95
3 changed files with 21 additions and 1 deletions

View File

@ -24,6 +24,21 @@ static int ReturnTrue()
return 1;
}
static InitFunction initFunction_GC2([]()
{
uintptr_t imageBase = (uintptr_t)GetModuleHandleA(0);
init_FastIoEmu();
init_RfidEmu();
init_RegHooks();
init_NesysEmu();
// C:\\TypeXZEROTemp.dat check
safeJMP(imageBase + 0xF81B0, ReturnTrue);
#if _M_IX86
init_CryptoPipe(GameDetect::NesicaKey);
#endif
}, GameID::GrooveCoaster2);
static InitFunction initFunction_SOR([]()
{
uintptr_t imageBase = (uintptr_t)GetModuleHandleA(0);

View File

@ -13,6 +13,10 @@ void GameDetect::DetectCurrentGame()
switch (crcResult)
{
#if _M_IX86
case 0x4bcfbc4f:
currentGame = GameID::GrooveCoaster2;
isNesica = true;
break;
case 0xcb4ab9d6:
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::USF4;

View File

@ -39,5 +39,6 @@ enum class GameID
VirtuaRLimit,
SchoolOfRagnarok,
PokkenTournament,
ExBoardGeneric
ExBoardGeneric,
GrooveCoaster2
};