1
0
mirror of synced 2025-02-22 21:19:56 +01:00

- Add Chaos Code (NXL) and Dark Awake

- Add Chaos Code (Nesica) and Dark Awake (Nesica), no profile yet, windowed mode is broken
- Disable JusticeLeague detection in debug builds (causes issues)
This commit is contained in:
Nezarn 2020-07-21 21:09:17 +02:00
parent 80b827cf18
commit 45433e141c

View File

@ -407,6 +407,7 @@ void GameDetect::DetectCurrentGame()
currentGame = GameID::Daytona3;
break;
}
#if !_DEBUG
// IF GAME = JusticeLeague (if workingdir\JLA.exe exists) , AVOID THIS CHECK (note: darius checked offset is beyond JLA exe limits and TP crashes...)
char working_directory[MAX_PATH + 1];
GetCurrentDirectoryA(sizeof(working_directory), working_directory);
@ -428,6 +429,7 @@ void GameDetect::DetectCurrentGame()
break;
}
}
#endif
#else
// X64
// School of Ragnarok
@ -568,6 +570,16 @@ void GameDetect::DetectCurrentGame()
currentGame = GameID::PowerInstinctV;
X2Type = X2Type::Generic;
break;
case 0x6f913049: // Chaos Code for NesicaxLive
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::None;
isNesica = true;
break;
case 0x486e885c: // Dark Awake - The King Has No Name
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::None;
isNesica = true;
break;
#ifdef _AMD64_
case 0x80ebd207:
currentGame = GameID::Theatrhythm;