From: gameblabla Date: Thu, 18 Jul 2019 00:10:43 +0000 (+0200) Subject: psxbios: Should fix input issues in some games. X-Git-Tag: r23~156^2~35 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a0245bbfe36003c7c42778844eb617ce710d449;p=pcsx_rearmed.git psxbios: Should fix input issues in some games. Someone reported that this fixed Negcon controls in Ridge Racer Revolution and Grand Tour Racing. I doubt this will suffer from regressions ? --- diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c index 5bff23ee..83e55186 100644 --- a/libpcsxcore/psxbios.c +++ b/libpcsxcore/psxbios.c @@ -1772,9 +1772,10 @@ void psxBios_StopPAD() { // 14 #ifdef PSXBIOS_LOG PSXBIOS_LOG("psxBios_%s\n", biosB0n[0x14]); #endif - + if (pad_buf == 0){ pad_buf1 = NULL; pad_buf2 = NULL; + } pc0 = ra; }