GB Video: Fix OBJ/BG priority

This commit is contained in:
Jeffrey Pfau 2016-05-23 21:57:29 -07:00
parent 0f16569e7d
commit 7377725952
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ static void GBVideoSoftwareRendererDrawObj(struct GBVideoSoftwareRenderer* rende
if (GBRegisterLCDCIsObjSize(renderer->lcdc) && obj->tile & 1) {
--tileOffset;
}
uint8_t mask = GBObjAttributesIsPriority(obj->attr) ? 0xE3 : 0x60;
uint8_t mask = GBObjAttributesIsPriority(obj->attr) ? 0x63 : 0x60;
uint8_t mask2 = GBObjAttributesIsPriority(obj->attr) ? 0 : 0x83;
int p;
if (renderer->model >= GB_MODEL_CGB) {