GBHawk: PPU fix
This commit is contained in:
parent
a1ab551ea1
commit
9f1c5b45c0
BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk
|
@ -639,7 +639,15 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
pixel |= tile_data_latch[1].Bit(7 - (render_counter % 8)) ? 2 : 0;
|
||||
|
||||
int ref_pixel = pixel;
|
||||
pixel = (BGP >> (pixel * 2)) & 3;
|
||||
if (LCDC.Bit(0))
|
||||
{
|
||||
pixel = (BGP >> (pixel * 2)) & 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
pixel = 0;
|
||||
}
|
||||
|
||||
|
||||
// now we have the BG pixel, we next need the sprite pixel
|
||||
if (!no_sprites)
|
||||
|
|
Loading…
Reference in New Issue