GB Video: Fix OBJ ordering mask
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Feb 2016 23:22:40 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/renderers/software.c
→
src/gb/renderers/software.c
@@ -282,7 +282,7 @@ if (GBRegisterLCDCIsObjSize(renderer->lcdc) && y - obj->y >= -8) {
++tileOffset; } } - uint8_t mask = GBObjAttributesIsPriority(obj->attr) ? ~0x1C : ~0x3F; + uint8_t mask = GBObjAttributesIsPriority(obj->attr) ? ~0x1C : ~0x1F; int p; if (renderer->model >= GB_MODEL_CGB) { p = (GBObjAttributesGetCGBPalette(obj->attr) + 8) * 4;