aboutsummaryrefslogtreecommitdiff
path: root/source/gfx.h
diff options
context:
space:
mode:
authoraliaspider2014-10-28 05:42:01 +0100
committeraliaspider2014-10-28 05:42:01 +0100
commit9d034e0ae0f04082cb562a78c94a2a4edb12a6a5 (patch)
tree5a6b2e651027d19c79e2441bec2d872d2105b688 /source/gfx.h
parent76fef9625dd83399979a653b74f377f730725a70 (diff)
downloadsnes9x2005-9d034e0ae0f04082cb562a78c94a2a4edb12a6a5.tar.gz
snes9x2005-9d034e0ae0f04082cb562a78c94a2a4edb12a6a5.tar.bz2
snes9x2005-9d034e0ae0f04082cb562a78c94a2a4edb12a6a5.zip
ugly fix to solve segfaults on 64-bit platforms.
Diffstat (limited to 'source/gfx.h')
-rw-r--r--source/gfx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gfx.h b/source/gfx.h
index 37a082e..590db7c 100644
--- a/source/gfx.h
+++ b/source/gfx.h
@@ -137,7 +137,9 @@ struct SGFX{
uint32 PPL; // Number of pixels on each of Screen buffer
uint32 PPLx2;
uint32 PixSize;
+ uint8 S_safety_margin[8];
uint8 *S;
+ uint8 DB_safety_margin[8];
uint8 *DB;
uint32 DepthDelta;
uint8 Z1; // Depth for comparison