mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sms, revisit FM settings
setting moved to SMS section, default off since it crashes some games
This commit is contained in:
parent
d0cb6cfa57
commit
1ffc8b84f1
3 changed files with 7 additions and 6 deletions
|
@ -137,8 +137,7 @@ static unsigned char z80_sms_in(unsigned short a)
|
|||
break;
|
||||
case 0xf2:
|
||||
// bit 0 = 1 active FM Pac
|
||||
d = ymflag;
|
||||
//printf("read FM Check = %02x\n", d);
|
||||
d = 0xf8 | ymflag;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -202,7 +201,7 @@ static void z80_sms_out(unsigned short a, unsigned char d)
|
|||
break;
|
||||
case 0xf2:
|
||||
// bit 0 = 1 active FM Pac
|
||||
ymflag = d;
|
||||
ymflag = d & 0x1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue