mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-24 12:15:08 +00:00
Build fixes when HAVE_OVERLAY is not defined
This commit is contained in:
parent
8fc5c85589
commit
b6609d576b
@ -216,7 +216,9 @@ retro_input_t input_driver_keys_pressed(void)
|
||||
retro_input_t ret = 0;
|
||||
driver_t *driver = driver_get_ptr();
|
||||
const input_driver_t *input = input_get_ptr(driver);
|
||||
#ifdef HAVE_OVERLAY
|
||||
input_overlay_state_t *ol_state = input_overlay_get_state_ptr();
|
||||
#endif
|
||||
|
||||
for (key = 0; key < RARCH_BIND_LIST_END; key++)
|
||||
{
|
||||
|
@ -161,7 +161,9 @@ static int16_t input_state(unsigned port, unsigned device,
|
||||
settings_t *settings = config_get_ptr();
|
||||
driver_t *driver = driver_get_ptr();
|
||||
global_t *global = global_get_ptr();
|
||||
#ifdef HAVE_OVERLAY
|
||||
input_overlay_state_t *ol_state = input_overlay_get_state_ptr();
|
||||
#endif
|
||||
|
||||
for (i = 0; i < MAX_USERS; i++)
|
||||
libretro_input_binds[i] = settings->input.binds[i];
|
||||
@ -381,7 +383,9 @@ static void input_poll(void)
|
||||
{
|
||||
driver_t *driver = driver_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
#ifdef HAVE_OVERLAY
|
||||
input_overlay_t *overlay = input_overlay_get_ptr();
|
||||
#endif
|
||||
|
||||
input_driver_poll();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user