only update custom backdrop palette if in mode 5
maybe affects https://github.com/TASEmulators/Genesis-Plus-GX/issues/5 ?
This commit is contained in:
parent
2d229be6ba
commit
9ce41a2a88
Binary file not shown.
|
@ -1056,10 +1056,14 @@ GPGX_EX void gpgx_set_draw_mask(int mask)
|
|||
cinterface_render_bgw = !!(mask & 4);
|
||||
cinterface_render_obj = !!(mask & 8);
|
||||
cinterface_custom_backdrop = !!(mask & 16);
|
||||
if (cinterface_custom_backdrop)
|
||||
color_update_m5(0, 0);
|
||||
else
|
||||
color_update_m5(0x00, *(uint16 *)&cram[border << 1]);
|
||||
|
||||
if (reg[1] & 0x04)
|
||||
{
|
||||
if (cinterface_custom_backdrop)
|
||||
color_update_m5(0, 0);
|
||||
else
|
||||
color_update_m5(0x00, *(uint16 *)&cram[border << 1]);
|
||||
}
|
||||
}
|
||||
|
||||
GPGX_EX void gpgx_set_sprite_limit_enabled(int enabled)
|
||||
|
|
Loading…
Reference in New Issue