1
0
mirror of synced 2025-01-20 01:32:51 +01:00

Merge pull request #92 from adamgp/master

Adding SSFIV v2012 Nesys 1.3 executable to game detection.
This commit is contained in:
Poliwrath 2020-03-18 13:14:48 -04:00 committed by GitHub
commit c98de708ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ static char errorBuffer[256];
void GameDetect::DetectCurrentGame()
{
// TODO: move all game detection bound to crcResult immediately below to use the newCrcResult switch at end with its new CRC instead.
uint32_t crcResult = GetCRC32(GetModuleHandle(nullptr), 0x400);
NesicaKey = NesicaKey::None;
switch (crcResult)
@ -302,7 +303,7 @@ void GameDetect::DetectCurrentGame()
currentGame = GameID::SSFAE_EXP;
X2Type = X2Type::Generic;
break;
case 0xef843fd1: // Super Street Fighter IV Arcade Edition Ver. 2012
case 0xef843fd1: // Super Street Fighter IV Arcade Edition Ver. 2012 (NESYS 1.1)
currentGame = GameID::SSFAE2012;
X2Type = X2Type::Generic;
break;
@ -519,6 +520,10 @@ void GameDetect::DetectCurrentGame()
NesicaKey = NesicaKey::None;
isNesica = true;
break;
case 0x545b0d0c: // Super Street Fighter IV Arcade Edition Ver. 2012 (NESYS 1.3)
currentGame = GameID::SSFAE2012;
X2Type = X2Type::Generic;
break;
case 0xa202d660: //Yatagarasu - Attack on Cataclysm
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::None;