We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7e6799 commit 408bee8Copy full SHA for 408bee8
1 file changed
src/emulator.c
@@ -3324,6 +3324,14 @@ static void ppu_mode3_synchronize(Emulator* e) {
3324
pixel[i] = pal->color[palette_index];
3325
bg_is_zero[i] = palette_index == 0;
3326
bg_priority[i] = priority;
3327
+ } else {
3328
+ if (IS_CGB) {
3329
+ pixel[i] = PPU.bgcp.palettes[0].color[0];
3330
+ } else if (IS_SGB) {
3331
+ pixel[i] = e->sgb_pal[0].color[0];
3332
3333
+ pixel[i] = e->color_to_rgba[0].color[0];
3334
+ }
3335
}
3336
3337
0 commit comments