mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Fix another merge casualty
This commit is contained in:
parent
c7f85f7b7e
commit
dd67bf9797
|
@ -14,7 +14,11 @@
|
||||||
} \
|
} \
|
||||||
screenBase = background->screenBase + yBase + (xBase >> 2); \
|
screenBase = background->screenBase + yBase + (xBase >> 2); \
|
||||||
uint16_t* screenBlock = renderer->d.vramBG[screenBase >> VRAM_BLOCK_OFFSET]; \
|
uint16_t* screenBlock = renderer->d.vramBG[screenBase >> VRAM_BLOCK_OFFSET]; \
|
||||||
LOAD_16(mapData, screenBase & VRAM_BLOCK_MASK, screenBlock); \
|
if (LIKELY(screenBlock)) { \
|
||||||
|
LOAD_16(mapData, screenBase & VRAM_BLOCK_MASK, screenBlock); \
|
||||||
|
} else { \
|
||||||
|
mapData = 0; \
|
||||||
|
}
|
||||||
|
|
||||||
#define DRAW_BACKGROUND_MODE_0_TILE_SUFFIX_16(BLEND, OBJWIN) \
|
#define DRAW_BACKGROUND_MODE_0_TILE_SUFFIX_16(BLEND, OBJWIN) \
|
||||||
paletteData = GBA_TEXT_MAP_PALETTE(mapData) << 4; \
|
paletteData = GBA_TEXT_MAP_PALETTE(mapData) << 4; \
|
||||||
|
|
Loading…
Reference in New Issue