aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfxvideo/soft.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfxvideo/soft.c')
-rw-r--r--plugins/dfxvideo/soft.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/dfxvideo/soft.c b/plugins/dfxvideo/soft.c
index 0f55236..d50b8e0 100644
--- a/plugins/dfxvideo/soft.c
+++ b/plugins/dfxvideo/soft.c
@@ -1003,6 +1003,10 @@ static void FillSoftwareArea(short x0,short y0,short x1, // FILL AREA (BLK
{
short j,i,dx,dy;
+ // ?? ff9 pal hooligan crack sets nonsense x0
+ if(x0<0) x0=0;
+ if(y0<0) y0=0;
+
if(y0>y1) return;
if(x0>x1) return;