From aa610b2ba997a945c77ce06e9a33638dedb480da Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 16 Aug 2017 06:57:36 +0200 Subject: More C89_BUILD fixes --- source/tile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/tile.h') diff --git a/source/tile.h b/source/tile.h index 12b294d..ca9f854 100644 --- a/source/tile.h +++ b/source/tile.h @@ -4,6 +4,8 @@ #define _TILE_H_ #define TILE_PREAMBLE() \ + uint32_t l; \ + uint16_t *ScreenColors; \ uint8_t *pCache; \ uint32_t TileAddr = BG.TileAddress + ((Tile & 0x3ff) << BG.TileShift); \ if ((Tile & 0x1ff) >= 256) \ @@ -15,8 +17,6 @@ BG.Buffered[TileNumber] = ConvertTile (pCache, TileAddr); \ if (BG.Buffered [TileNumber] == BLANK_TILE) \ return; \ - uint32_t l; \ - uint16_t *ScreenColors; \ if (BG.DirectColourMode) \ { \ if (IPPU.DirectColourMapsNeedRebuild) \ -- cgit v1.2.3