mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-25 12:31:54 +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
|
// Cart Checksum
|
||||||
chksum = readWord_MD(0xC7);
|
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
|
// Super Street Fighter 2 Check
|
||||||
if (cartSize == 0x400000) {
|
if (cartSize == 0x400000) {
|
||||||
switch (chksum) {
|
switch (chksum) {
|
||||||
|
Loading…
Reference in New Issue
Block a user