aboutsummaryrefslogtreecommitdiff
path: root/source/gfx.h
diff options
context:
space:
mode:
authoraliaspider2014-10-28 05:53:44 +0100
committeraliaspider2014-10-28 05:53:44 +0100
commit2b75359c7ea0485b509460ea81606ac8052a6333 (patch)
tree6f76359583ea548766e0c00e5f8066474d0f6a0b /source/gfx.h
parent9d034e0ae0f04082cb562a78c94a2a4edb12a6a5 (diff)
downloadsnes9x2005-2b75359c7ea0485b509460ea81606ac8052a6333.tar.gz
snes9x2005-2b75359c7ea0485b509460ea81606ac8052a6333.tar.bz2
snes9x2005-2b75359c7ea0485b509460ea81606ac8052a6333.zip
ugly 64-bit targets fix (cont.)
Diffstat (limited to 'source/gfx.h')
-rw-r--r--source/gfx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gfx.h b/source/gfx.h
index 590db7c..24364f8 100644
--- a/source/gfx.h
+++ b/source/gfx.h
@@ -312,12 +312,12 @@ inline uint16 COLOR_SUB(uint16 C1, uint16 C2)
GFX.ZERO [(((C1) | RGB_HI_BITS_MASKx2) - \
((C2) & RGB_REMOVE_LOW_BITS_MASK)) >> 1]
-typedef void (*NormalTileRenderer) (uint32 Tile, uint32 Offset,
+typedef void (*NormalTileRenderer) (uint32 Tile, int32 Offset,
uint32 StartLine, uint32 LineCount);
-typedef void (*ClippedTileRenderer) (uint32 Tile, uint32 Offset,
+typedef void (*ClippedTileRenderer) (uint32 Tile, int32 Offset,
uint32 StartPixel, uint32 Width,
uint32 StartLine, uint32 LineCount);
-typedef void (*LargePixelRenderer) (uint32 Tile, uint32 Offset,
+typedef void (*LargePixelRenderer) (uint32 Tile, int32 Offset,
uint32 StartPixel, uint32 Pixels,
uint32 StartLine, uint32 LineCount);