aboutsummaryrefslogtreecommitdiff
path: root/source/tile.h
diff options
context:
space:
mode:
authortwinaphex2017-08-16 06:57:36 +0200
committertwinaphex2017-08-16 06:57:36 +0200
commitaa610b2ba997a945c77ce06e9a33638dedb480da (patch)
tree5f5d5448a458492bfb220eb2dc6d80096692c1b6 /source/tile.h
parent7a8802b9311099e5034054a69a309dcb17661dfa (diff)
downloadsnes9x2005-aa610b2ba997a945c77ce06e9a33638dedb480da.tar.gz
snes9x2005-aa610b2ba997a945c77ce06e9a33638dedb480da.tar.bz2
snes9x2005-aa610b2ba997a945c77ce06e9a33638dedb480da.zip
More C89_BUILD fixes
Diffstat (limited to 'source/tile.h')
-rw-r--r--source/tile.h4
1 files changed, 2 insertions, 2 deletions
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) \