From: notaz Date: Sat, 4 Nov 2023 00:06:57 +0000 (+0200) Subject: adjust the deadzone hack X-Git-Tag: r24l~73 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c396a646b9ce3082bc6aee7da35219f6424c99b6;p=pcsx_rearmed.git adjust the deadzone hack libretro/pcsx_rearmed#792 --- diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c index a6171879..d44442b0 100644 --- a/libpcsxcore/plugins.c +++ b/libpcsxcore/plugins.c @@ -626,8 +626,9 @@ static void adjust_analog(unsigned char *b) { // ff8 hates 0x80 for whatever reason (broken in 2d area menus), // or is this caused by something else we do wrong?? - if (b[6] == 0x80) - b[6] = 0x7f; + // Also S.C.A.R.S. treats 0x7f as turning left. + if (b[6] == 0x7f || b[6] == 0x80) + b[6] = 0x81; } // Build response for 0x42 request Pad in port