Skip to content

Commit

Permalink
Revert "GBA Video: Don't mask out high bits of BLDY (fixes #899)"
Browse files Browse the repository at this point in the history
This reverts commit 17dac64.
  • Loading branch information
endrift committed Nov 1, 2017
1 parent 6796307 commit ea9af9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gba/renderers/video-software.c
Expand Up @@ -296,6 +296,7 @@ static uint16_t GBAVideoSoftwareRendererWriteVideoRegister(struct GBAVideoRender
value &= 0x1F1F;
break;
case REG_BLDY:
value &= 0x1F;
if (value > 0x10) {
value = 0x10;
}
Expand Down

0 comments on commit ea9af9e

Please sign in to comment.