core, preparations for sc-3000 support

This commit is contained in:
kub 2023-02-18 20:57:16 +00:00
parent ecf8764253
commit cab84f29e5
10 changed files with 66 additions and 18 deletions

View file

@ -217,7 +217,7 @@ static void do_pal_update_sms(void)
int i;
if (!(Pico.video.reg[0] & 0x4)) {
int sg = !!(Pico.m.hardware & PMS_HW_SG);
int sg = !!(Pico.m.hardware & (PMS_HW_SG|PMS_HW_SC));
for (i = Pico.est.SonicPalCount; i >= 0; i--)
do_pal_convert(localPal+i*0x40, tmspal+sg*0x10, currentConfig.gamma, currentConfig.gamma2);
} else {