mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
Fix compilation error introduced by analog overlay changes
This commit is contained in:
parent
a49d9d98f0
commit
ba095dca79
@ -1855,7 +1855,7 @@ static int16_t android_input_state(void *data, const struct retro_keybind **bind
|
||||
|
||||
static bool android_input_key_pressed(void *data, int key)
|
||||
{
|
||||
return ((g_extern.lifecycle_state | driver.overlay_state) & (1ULL << key));
|
||||
return ((g_extern.lifecycle_state | driver.overlay_state.buttons) & (1ULL << key));
|
||||
}
|
||||
|
||||
static void android_input_free_input(void *data)
|
||||
|
@ -704,7 +704,7 @@ static uint64_t rgui_input(void)
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
for (unsigned i = 0; i < DEVICE_NAV_LAST; i++)
|
||||
input_state |= driver.overlay_state & menu_nav_binds[0][i].joykey ? (1ULL << i) : 0;
|
||||
input_state |= driver.overlay_state.buttons & menu_nav_binds[0][i].joykey ? (1ULL << i) : 0;
|
||||
#endif
|
||||
#else
|
||||
static const int maps[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user