sms, revisit FM settings

setting moved to SMS section, default off since it crashes some games
This commit is contained in:
kub 2021-10-21 20:40:13 +02:00
parent d0cb6cfa57
commit 1ffc8b84f1
3 changed files with 7 additions and 6 deletions

View file

@ -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;
}
}