mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Simplify code part
This commit is contained in:
parent
a1edae126c
commit
385029786c
10
retroarch.c
10
retroarch.c
@ -3267,13 +3267,11 @@ bool command_event(enum event_command cmd, void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (input_st->game_focus_state.enabled)
|
if (input_st->game_focus_state.enabled)
|
||||||
input_st->flags |= INP_FLAG_BLOCK_HOTKEY;
|
input_st->flags |= INP_FLAG_BLOCK_HOTKEY
|
||||||
|
| INP_FLAG_KB_MAPPING_BLOCKED;
|
||||||
else
|
else
|
||||||
input_st->flags &= ~INP_FLAG_BLOCK_HOTKEY;
|
input_st->flags &= ~(INP_FLAG_BLOCK_HOTKEY
|
||||||
if (input_st->game_focus_state.enabled)
|
| INP_FLAG_KB_MAPPING_BLOCKED);
|
||||||
input_st->flags |= INP_FLAG_KB_MAPPING_BLOCKED;
|
|
||||||
else
|
|
||||||
input_st->flags &= ~INP_FLAG_KB_MAPPING_BLOCKED;
|
|
||||||
|
|
||||||
if (show_message)
|
if (show_message)
|
||||||
runloop_msg_queue_push(
|
runloop_msg_queue_push(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user