Fix 512x512 backgrounds in Mode 0
This commit is contained in:
parent
ae3f623fd5
commit
7ec435b94c
@ -636,7 +636,7 @@ static void _drawBackgroundMode0(struct GBAVideoSoftwareRenderer* renderer, stru
|
||||
union GBATextMapData mapData;
|
||||
|
||||
unsigned yBase = inY & 0xF8;
|
||||
if (background->size & 2) {
|
||||
if (background->size == 2) {
|
||||
yBase += inY & 0x100;
|
||||
} else if (background->size == 3) {
|
||||
yBase += (inY & 0x100) << 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user