mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-24 12:01:53 +01:00
Fix Megadrive Zero Wing (J)
thx to tamanegi_taro
This commit is contained in:
parent
02cb3552b9
commit
5ee9997ea0
@ -607,6 +607,16 @@ void getCartInfo_MD() {
|
||||
// Cart Checksum
|
||||
chksum = readWord_MD(0xC7);
|
||||
|
||||
// Zero Wing Check
|
||||
if (cartSize == 0x80000) {
|
||||
switch (chksum) {
|
||||
case 0xD07D: //Zero Wing (J) 8Mbit
|
||||
cartSize = 0x100000; //1MB instead of 512KB
|
||||
chksum = 0xF204;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Super Street Fighter 2 Check
|
||||
if (cartSize == 0x400000) {
|
||||
switch (chksum) {
|
||||
|
Loading…
Reference in New Issue
Block a user