GB Video: Fix OBJ ordering mask
This commit is contained in:
parent
9d209aa9bb
commit
f47b6881fc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user