menu_input_driver_toggle_on - turn function static

This commit is contained in:
twinaphex 2020-02-27 15:34:47 +01:00
parent 74547c0a81
commit 55a1837494
2 changed files with 4 additions and 6 deletions

View File

@ -182,11 +182,6 @@ typedef struct menu_input_ctx_hitbox
int32_t y2;
} menu_input_ctx_hitbox_t;
/* Must be called inside menu_driver_toggle()
* Prevents phantom input when using an overlay to
* toggle menu ON if overlays are disabled in-menu */
void menu_input_driver_toggle(bool on);
/* Provides access to all pointer device parameters */
void menu_input_get_pointer_state(menu_input_pointer_t *pointer);

View File

@ -14547,8 +14547,11 @@ static int16_t input_joypad_axis(const input_device_driver_t *drv,
/* MENU INPUT */
#ifdef HAVE_MENU
/* Must be called inside menu_driver_toggle()
* Prevents phantom input when using an overlay to
* toggle menu ON if overlays are disabled in-menu */
void menu_input_driver_toggle(bool on)
static void menu_input_driver_toggle(bool on)
{
#ifdef HAVE_OVERLAY
settings_t *settings = configuration_settings;