Fixed checksum calc on 24Mb SPC7110 ROMs - again.

This commit is contained in:
n-a-c-h
2004-05-07 09:58:38 +00:00
parent 082d7dc5e1
commit 4079f6faea

View File

@@ -341,9 +341,9 @@ void CalcChecksum()
else if (SPC7110Enable) else if (SPC7110Enable)
{ {
Checksumvalue = sum(ROM, NumofBytes); Checksumvalue = sum(ROM, NumofBytes);
if (NumofBanks == 96) if (NumofBytes == 0x300000) //Fix for 24Mb SPC7110 ROMs
{ {
Checksumvalue += Checksumvalue; //Fix for 24Mb SPC7110 ROMs Checksumvalue += Checksumvalue;
} }
} }
else else