- Fixed the bug that resulted in missing backgrounds in Megaman ZX and AoE (probably others too)
This commit is contained in:
parent
b83c0051a6
commit
9a1143a3e7
|
@ -377,7 +377,17 @@ void GPU_setBGProp(GPU * gpu, u16 num, u16 p)
|
||||||
gpu->BG_bmp_ram[num] += (cnt->ScreenBase_Block * ADDRESS_STEP_16KB);
|
gpu->BG_bmp_ram[num] += (cnt->ScreenBase_Block * ADDRESS_STEP_16KB);
|
||||||
gpu->BG_map_ram[num] += (cnt->ScreenBase_Block * ADDRESS_STEP_2KB);
|
gpu->BG_map_ram[num] += (cnt->ScreenBase_Block * ADDRESS_STEP_2KB);
|
||||||
|
|
||||||
|
switch(num)
|
||||||
|
{
|
||||||
|
case 0:
|
||||||
|
case 1:
|
||||||
gpu->BGExtPalSlot[num] = cnt->PaletteSet_Wrap * 2 + num ;
|
gpu->BGExtPalSlot[num] = cnt->PaletteSet_Wrap * 2 + num ;
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
gpu->BGExtPalSlot[num] = (u8)num;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
/*if(!(prop&(3<<16)))
|
/*if(!(prop&(3<<16)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue