mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Don't mask out high bits of BLDY (fixes #899)
This commit is contained in:
parent
66ce1063d4
commit
17dac6486b
|
@ -295,7 +295,6 @@ static uint16_t GBAVideoSoftwareRendererWriteVideoRegister(struct GBAVideoRender
|
||||||
value &= 0x1F1F;
|
value &= 0x1F1F;
|
||||||
break;
|
break;
|
||||||
case REG_BLDY:
|
case REG_BLDY:
|
||||||
value &= 0x1F;
|
|
||||||
if (value > 0x10) {
|
if (value > 0x10) {
|
||||||
value = 0x10;
|
value = 0x10;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue