mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Fix strange bug where binds in player 2 would carry over to player 1.
This commit is contained in:
parent
4debf60bad
commit
4ddc5a9912
3
driver.h
3
driver.h
@ -63,7 +63,8 @@ enum
|
||||
RARCH_SRAM_WRITE_PROTECT,
|
||||
#endif
|
||||
|
||||
RARCH_BIND_LIST_END
|
||||
RARCH_BIND_LIST_END,
|
||||
RARCH_BIND_LIST_END_NULL
|
||||
};
|
||||
|
||||
struct snes_keybind
|
||||
|
@ -525,7 +525,7 @@ struct bind_map
|
||||
}
|
||||
|
||||
// Big and nasty bind map... :)
|
||||
static const struct bind_map bind_maps[MAX_PLAYERS][RARCH_BIND_LIST_END] = {
|
||||
static const struct bind_map bind_maps[MAX_PLAYERS][RARCH_BIND_LIST_END_NULL] = {
|
||||
{
|
||||
DECLARE_BIND(player1_b, RETRO_DEVICE_ID_JOYPAD_B),
|
||||
DECLARE_BIND(player1_y, RETRO_DEVICE_ID_JOYPAD_Y),
|
||||
|
Loading…
x
Reference in New Issue
Block a user