diff options
author | twinaphex | 2014-12-14 23:44:05 +0100 |
---|---|---|
committer | twinaphex | 2014-12-14 23:44:05 +0100 |
commit | c26dca005ec484bdb855ef2ba6e1080fd1f8c1ce (patch) | |
tree | 499369cc6de2dec0d0e145208414cb9725bbfcd1 /source | |
parent | 26d62ef100d60e41bfc001888d789097da77a20f (diff) | |
download | snesemu-c26dca005ec484bdb855ef2ba6e1080fd1f8c1ce.tar.gz snesemu-c26dca005ec484bdb855ef2ba6e1080fd1f8c1ce.tar.bz2 snesemu-c26dca005ec484bdb855ef2ba6e1080fd1f8c1ce.zip |
Fix crash when fastforwarding in Killer Instinct/Chrono Trigger intro
Diffstat (limited to 'source')
-rw-r--r-- | source/gfx.h | 2 |
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 |