From 9d034e0ae0f04082cb562a78c94a2a4edb12a6a5 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Tue, 28 Oct 2014 05:42:01 +0100 Subject: ugly fix to solve segfaults on 64-bit platforms. --- source/gfx.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/gfx.h') 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 -- cgit v1.2.3