mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
core, preparations for sc-3000 support
This commit is contained in:
parent
ecf8764253
commit
cab84f29e5
10 changed files with 66 additions and 18 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue