aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorgameblabla2019-07-18 02:10:43 +0200
committergameblabla2019-07-18 02:10:43 +0200
commit8a0245bbfe36003c7c42778844eb617ce710d449 (patch)
treecfd3c59ad3736dc313b3bbbd87f96546a8521106 /libpcsxcore
parenta66d30585863c4fabbb724a69e30e3282c39bdc3 (diff)
downloadpcsx_rearmed-8a0245bbfe36003c7c42778844eb617ce710d449.tar.gz
pcsx_rearmed-8a0245bbfe36003c7c42778844eb617ce710d449.tar.bz2
pcsx_rearmed-8a0245bbfe36003c7c42778844eb617ce710d449.zip
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 ?
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/psxbios.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c
index 5bff23e..83e5518 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;
}