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:
parent
3a20215139
commit
d8e03fa31e
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user