1
0
mirror of synced 2024-11-15 07:17:35 +01:00

Attempt to fix KOFXIII Climax

KOFXIII Climax boots now, but no controls?
This commit is contained in:
Nezarn 2020-05-03 22:14:01 +02:00
parent 9bbf97066d
commit dc044abc9b
4 changed files with 20 additions and 6 deletions

View File

@ -214,4 +214,17 @@ static InitFunction initFunction_Theatrhythm([]()
init_FastIoEmu();
}, GameID::Theatrhythm);
}, GameID::Theatrhythm);
static InitFunction initFunction_KOFXIIIClimax([]()
{
init_FastIoEmu();
init_RfidEmu();
init_RegHooks();
if (GameDetect::enableNesysEmu)
init_NesysEmu();
#if _M_IX86
init_CryptoPipe(GameDetect::NesicaKey);
#endif
}, GameID::KOFXIIIClimax);

View File

@ -881,7 +881,7 @@ HANDLE __stdcall CreateFileWWrap(LPCWSTR lpFileName,
return hConnection;
}
if (GameDetect::currentGame == GameID::GrooveCoaster2)
if (GameDetect::currentGame == GameID::GrooveCoaster2 || GameDetect::currentGame == GameID::KOFXIIIClimax)
{
return g_origCreateFileW(lpFileName,
dwDesiredAccess,

View File

@ -511,9 +511,9 @@ void GameDetect::DetectCurrentGame()
currentGame = GameID::SpicaAdventure;
X2Type = X2Type::Generic;
break;
case 0xbd516d7b: //KoFXIII
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::None;
case 0xbd516d7b: // KOFXIII Climax
currentGame = GameID::KOFXIIIClimax;
NesicaKey = NesicaKey::KOFXIIIClimax;
isNesica = true;
break;
case 0x3806e8f4: //KoF98 (has files that need to be deleted to run)

View File

@ -70,5 +70,6 @@ enum class GameID
H2Overdrive,
Tekken7Update00,
Tekken7Update12,
BG4_Eng
BG4_Eng,
KOFXIIIClimax
};