1
0
mirror of synced 2025-02-21 20:59:31 +01:00

Fix some NESYS and Nitroplus Blasterz 303910 playable

This commit is contained in:
Reaver 2018-09-12 16:28:50 +03:00
parent eec04a7983
commit 3a20215139
3 changed files with 11 additions and 2 deletions

View File

@ -15,8 +15,7 @@ static InitFunction initFunction([]()
if(GameDetect::enableNesysEmu)
init_NesysEmu();
#if _M_IX86
if(GameDetect::NesicaKey != NesicaKey::None)
init_CryptoPipe(GameDetect::NesicaKey);
init_CryptoPipe(GameDetect::NesicaKey);
#endif
}, GameID::Nesica);

View File

@ -79,6 +79,11 @@ DWORD LinkRC5Data(const char* file, void* buf, int gameId)
}
break;
default:
for (int i = 0; i < 308; i++)
{
sscanf(&key_usf4[i * 2], "%02x", &num);
key[i] = num;
}
break;
}
memcpy(buf, key, 308);

View File

@ -67,6 +67,11 @@ void GameDetect::DetectCurrentGame()
NesicaKey = NesicaKey::None;
isNesica = true;
break;
case 0x28503c4c: // Nitroplus Blasterz 303910
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::None;
isNesica = true;
break;
case 0x6DA10E60:
currentGame = GameID::FordRacing;
break;