diff options
Diffstat (limited to 'source/gfx.c')
-rw-r--r-- | source/gfx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/gfx.c b/source/gfx.c index 5eac5b9..dbde167 100644 --- a/source/gfx.c +++ b/source/gfx.c @@ -787,6 +787,9 @@ static void DrawOBJS(bool OnMain, uint8_t D) int32_t clipcount; uint32_t Y, Offset; BG.BitShift = 4; +#ifdef ARM_ASM + SelectConvertTile(); +#endif BG.TileShift = 5; BG.TileAddress = PPU.OBJNameBase; BG.StartPalette = 128; @@ -1716,6 +1719,9 @@ static void DrawBackground(uint32_t BGMode, uint32_t bg, uint8_t Z1, uint8_t Z2) BG.TileSize = BGSizes [PPU.BG[bg].BGSize]; BG.BitShift = BitShifts[BGMode][bg]; +#ifdef ARM_ASM + SelectConvertTile(); +#endif BG.TileShift = TileShifts[BGMode][bg]; BG.TileAddress = PPU.BG[bg].NameBase << 1; BG.NameSelect = 0; |