X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fdfxvideo%2Fsoft.c;h=d50b8e03452ad03b0f16d9c03426abea7cb17316;hb=17ed0d696a7a3649cc41dcf182e162c85002b33a;hp=0f55236e1060ee5d1228e1ecd29c9c7d7f704e64;hpb=a96a5eb2d6a6720cc7bba6a30d1c25473f345a89;p=pcsx_rearmed.git diff --git a/plugins/dfxvideo/soft.c b/plugins/dfxvideo/soft.c index 0f55236e..d50b8e03 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;