From c26dca005ec484bdb855ef2ba6e1080fd1f8c1ce Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 14 Dec 2014 23:44:05 +0100 Subject: Fix crash when fastforwarding in Killer Instinct/Chrono Trigger intro --- source/gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gfx.h') 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 -- cgit v1.2.3