From e32d93d88682310884c3c686f541ba851a375974 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 7 Dec 2016 08:14:04 +0100 Subject: [PATCH] Remove functions --- input/input_driver.c | 12 +----------- input/input_driver.h | 4 ---- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/input/input_driver.c b/input/input_driver.c index c05a011b64..f879ee20ea 100644 --- a/input/input_driver.c +++ b/input/input_driver.c @@ -465,7 +465,7 @@ void state_tracker_update_input(uint16_t *input1, uint16_t *input2) input_push_analog_dpad(auto_binds, dpad_mode); } - if (!input_driver_is_libretro_input_blocked()) + if (!input_driver_block_libretro_input) { for (i = 4; i < 16; i++) { @@ -959,11 +959,6 @@ void input_driver_set_flushing_input(void) input_driver_flushing_input = true; } -bool input_driver_is_flushing_input(void) -{ - return input_driver_flushing_input; -} - void input_driver_unset_hotkey_block(void) { input_driver_block_hotkey = true; @@ -974,11 +969,6 @@ void input_driver_set_hotkey_block(void) input_driver_block_hotkey = true; } -bool input_driver_is_hotkey_blocked(void) -{ - return input_driver_block_hotkey; -} - void input_driver_set_libretro_input_blocked(void) { input_driver_block_libretro_input = true; diff --git a/input/input_driver.h b/input/input_driver.h index 7807d0d1a5..5c4602cff2 100644 --- a/input/input_driver.h +++ b/input/input_driver.h @@ -274,14 +274,10 @@ bool input_driver_find_driver(void); void input_driver_set_flushing_input(void); -bool input_driver_is_flushing_input(void); - void input_driver_unset_hotkey_block(void); void input_driver_set_hotkey_block(void); -bool input_driver_is_hotkey_blocked(void); - void input_driver_set_libretro_input_blocked(void); void input_driver_unset_libretro_input_blocked(void);