aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authortwinaphex2014-12-14 23:44:05 +0100
committertwinaphex2014-12-14 23:44:05 +0100
commitc26dca005ec484bdb855ef2ba6e1080fd1f8c1ce (patch)
tree499369cc6de2dec0d0e145208414cb9725bbfcd1 /source
parent26d62ef100d60e41bfc001888d789097da77a20f (diff)
downloadsnes9x2005-c26dca005ec484bdb855ef2ba6e1080fd1f8c1ce.tar.gz
snes9x2005-c26dca005ec484bdb855ef2ba6e1080fd1f8c1ce.tar.bz2
snes9x2005-c26dca005ec484bdb855ef2ba6e1080fd1f8c1ce.zip
Fix crash when fastforwarding in Killer Instinct/Chrono Trigger intro
Diffstat (limited to 'source')
-rw-r--r--source/gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gfx.h b/source/gfx.h
index 2d0ab3c..98e22ae 100644
--- a/source/gfx.h
+++ b/source/gfx.h
@@ -144,7 +144,7 @@ struct SGFX
uint8_t* S;
uint8_t DB_safety_margin[8];
uint8_t* DB;
- uint32_t DepthDelta;
+ ptrdiff_t DepthDelta;
uint8_t Z1; // Depth for comparison
uint8_t Z2; // Depth to save
uint8_t ZSprite; // Used to ensure only 1st sprite is drawn per pixel