1
0
mirror of synced 2025-02-01 04:15:50 +01:00

Crimzon Clover, Daemon Bride and ChronoPhantasma CRC

Some games now fail with I/O error, need to investigate. Probably card reader emu is borked.
This commit is contained in:
Reaver 2018-09-12 16:41:32 +03:00
parent 3a20215139
commit d8e03fa31e
2 changed files with 12 additions and 24 deletions

View File

@ -204,28 +204,6 @@ public:
push(v);
}
void end_stream() {
#if 0
if (xpos == (statusaddr + 1)) {
clear();
return;
}
// codifica o tamanho da stream
buffer[sizeaddr] = (BYTE)xpos - sizeaddr;
// calcula o checksum
DWORD sum = 0;
for (DWORD i = sumaddr; i<xpos; i++) {
sum += (DWORD)(buffer[i] & 0xFF);
}
sum &= 0xFF;
if ((sum == 0xD0) || (sum == 0xE0)) {
push(0xD0);
push(sum - 1);
}
else
push(sum);
size_ = xpos;
#else
if (xpos == (statusaddr + 1)) {
clear();
return;
@ -253,7 +231,6 @@ public:
sum &= 0xFF;
push(sum);
size_ = xpos;
#endif
}

View File

@ -28,13 +28,24 @@ void GameDetect::DetectCurrentGame()
NesicaKey = NesicaKey::BlazBlueCentralFriction;
isNesica = true;
break;
case 0xd98bed41: // Crimzon Clover
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::None;
isNesica = true;
break;
case 0xde1b6797:
case 0xaff18f9b:
case 0x8f4d9755: // 302510 I/O ERROR
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::BlazBlueChronoPhantasma;
isNesica = true;
break;
case 0x05e53803:
case 0x5c095b93: // Daemon Bride
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::BlazBlueChronoPhantasma;
isNesica = true;
break;
case 0x05e53803: // KOF XIII Climax
currentGame = GameID::Nesica;
NesicaKey = NesicaKey::KOFXIIIClimax;
isNesica = true;