mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 19:21:09 +00:00
Get rid of unnecessary functions
This commit is contained in:
parent
9517f69a0a
commit
70e54b2763
@ -252,10 +252,6 @@ void *input_get_data(void);
|
||||
|
||||
void input_driver_set_flushing_input(void);
|
||||
|
||||
void input_driver_unset_hotkey_block(void);
|
||||
|
||||
void input_driver_set_hotkey_block(void);
|
||||
|
||||
void input_driver_set_libretro_input_blocked(void);
|
||||
|
||||
void input_driver_unset_libretro_input_blocked(void);
|
||||
|
14
retroarch.c
14
retroarch.c
@ -4793,7 +4793,7 @@ TODO: Add a setting for these tweaks */
|
||||
{
|
||||
input_driver_grab_mouse();
|
||||
video_driver_hide_mouse();
|
||||
input_driver_set_hotkey_block();
|
||||
input_driver_block_hotkey = true;
|
||||
current_input->keyboard_mapping_blocked = true;
|
||||
if (mode != -1)
|
||||
runloop_msg_queue_push(msg_hash_to_str(MSG_GAME_FOCUS_ON),
|
||||
@ -4804,7 +4804,7 @@ TODO: Add a setting for these tweaks */
|
||||
{
|
||||
input_driver_ungrab_mouse();
|
||||
video_driver_show_mouse();
|
||||
input_driver_unset_hotkey_block();
|
||||
input_driver_block_hotkey = false;
|
||||
current_input->keyboard_mapping_blocked = false;
|
||||
if (mode != -1)
|
||||
runloop_msg_queue_push(msg_hash_to_str(MSG_GAME_FOCUS_OFF),
|
||||
@ -12449,16 +12449,6 @@ void input_driver_set_flushing_input(void)
|
||||
input_driver_flushing_input = true;
|
||||
}
|
||||
|
||||
void input_driver_unset_hotkey_block(void)
|
||||
{
|
||||
input_driver_block_hotkey = true;
|
||||
}
|
||||
|
||||
void input_driver_set_hotkey_block(void)
|
||||
{
|
||||
input_driver_block_hotkey = true;
|
||||
}
|
||||
|
||||
void input_driver_set_libretro_input_blocked(void)
|
||||
{
|
||||
input_driver_block_libretro_input = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user