mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
giz menu
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@256 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
77f53c65c9
commit
7695af0a5b
2 changed files with 3 additions and 2 deletions
|
@ -739,7 +739,7 @@ static void key_config_loop(const bind_action_t *opts, int opt_cnt, int player_i
|
|||
if (count_bound_keys(opts[sel].mask, player_idx, 0) >= 2)
|
||||
currentConfig.KeyBinds[i] &= ~opts[sel].mask; // allow to unbind only
|
||||
else currentConfig.KeyBinds[i] ^= opts[sel].mask;
|
||||
if (player_idx >= 0 && currentConfig.KeyBinds[i] & opts[sel].mask) {
|
||||
if (player_idx >= 0 && (currentConfig.KeyBinds[i] & opts[sel].mask)) {
|
||||
currentConfig.KeyBinds[i] &= ~(3 << 16);
|
||||
currentConfig.KeyBinds[i] |= player_idx << 16;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue