diff options
author | aliaspider | 2014-10-28 05:42:01 +0100 |
---|---|---|
committer | aliaspider | 2014-10-28 05:42:01 +0100 |
commit | 9d034e0ae0f04082cb562a78c94a2a4edb12a6a5 (patch) | |
tree | 5a6b2e651027d19c79e2441bec2d872d2105b688 /source/gfx.h | |
parent | 76fef9625dd83399979a653b74f377f730725a70 (diff) | |
download | snes9x2005-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.h | 2 |
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 |