Skip to content

Commit

Permalink
fc: allow "ppu direct color" to function, fixes full palette test roms
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeUsher committed Oct 10, 2023
1 parent b7be661 commit 6a7de62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ares/fc/ppu/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ auto PPU::renderPixel() -> void {
if(palette == 0 || objectPriority == 0) palette = objectPalette;
}

if(!enable()) palette = 0;
if(!enable()) palette = io.v.address & 0x3f00 ? io.v.address & 0x1f : 0;
output[x] = io.emphasis << 6 | readCGRAM(palette);
}

Expand Down

0 comments on commit 6a7de62

Please sign in to comment.