jvs: no default mapping if button is remapped to P1 or P2

fixes jambo down-lever pausing the game
This commit is contained in:
Flyinghead 2021-07-19 10:15:24 +02:00
parent af76a09e03
commit 10e97b63be
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}