the vast majority of games have the correct background color in my emu, but a few like startropics and punchout show the wrong color. the background color should always use the color specified in $3F00, correct? this is what punchout looks like:
has anybody else had this sort of a bug before? is my palette mirroring code correct? i handle it like this:
has anybody else had this sort of a bug before? is my palette mirroring code correct? i handle it like this:
Code:
if (addr>=0x3F00) addr = 0x3F00 | (addr & 0x1F);
if (addr==0x3F10) addr = 0x3F00;
if (addr==0x3F14) addr = 0x3F04;
if (addr==0x3F18) addr = 0x3F08;
if (addr==0x3F1C) addr = 0x3F0C;
if (addr==0x3F10) addr = 0x3F00;
if (addr==0x3F14) addr = 0x3F04;
if (addr==0x3F18) addr = 0x3F08;
if (addr==0x3F1C) addr = 0x3F0C;