GB Video: Fix OBJ ordering mask

This commit is contained in:
Jeffrey Pfau 2016-02-16 23:22:40 -08:00
parent 9d209aa9bb
commit f47b6881fc
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ static void GBVideoSoftwareRendererDrawObj(struct GBVideoSoftwareRenderer* rende
++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;