mirror of https://github.com/mgba-emu/mgba.git
GB Video: Fix OBJ/BG priority
This commit is contained in:
parent
0f16569e7d
commit
7377725952
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue