From 10e97b63bed12e8b85c9d20db4bca4f278808fe8 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Mon, 19 Jul 2021 10:15:24 +0200 Subject: [PATCH] jvs: no default mapping if button is remapped to P1 or P2 fixes jambo down-lever pausing the game --- core/hw/maple/maple_jvs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/hw/maple/maple_jvs.cpp b/core/hw/maple/maple_jvs.cpp index 59db295b9..78452bcdc 100644 --- a/core/hw/maple/maple_jvs.cpp +++ b/core/hw/maple/maple_jvs.cpp @@ -250,6 +250,8 @@ private: u32 target = NaomiGameInputs->buttons[i].target; if (target != 0) cur_mapping[keyIdx] = target; + else if (p1_mapping[keyIdx] != 0 || p2_mapping[keyIdx] != 0) + cur_mapping[keyIdx] = 0; } }