mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
(GX) Experiment to see if menu triggering can still work through this
new mechanism
This commit is contained in:
parent
44b771813a
commit
b490e22080
@ -94,8 +94,7 @@ static void gx_input_poll(void *data)
|
||||
|
||||
static bool gx_input_key_pressed(void *data, int key)
|
||||
{
|
||||
return (g_extern.lifecycle_state & (1ULL << key)) ||
|
||||
input_joypad_pressed(&gx_joypad, 0, g_settings.input.binds[0], key);
|
||||
return input_joypad_pressed(&gx_joypad, 0, g_settings.input.binds[0], key);
|
||||
}
|
||||
|
||||
static uint64_t gx_input_get_capabilities(void *data)
|
||||
|
@ -510,9 +510,6 @@ static void gx_joypad_poll(void)
|
||||
}
|
||||
|
||||
uint64_t *state_p1 = &pad_state[0];
|
||||
uint64_t *lifecycle_state = &g_extern.lifecycle_state;
|
||||
|
||||
*lifecycle_state &= ~((1ULL << RARCH_MENU_TOGGLE));
|
||||
|
||||
if (g_menu)
|
||||
{
|
||||
@ -525,7 +522,7 @@ static void gx_joypad_poll(void)
|
||||
| (1ULL << GX_CLASSIC_HOME)
|
||||
#endif
|
||||
))
|
||||
*lifecycle_state |= (1ULL << RARCH_MENU_TOGGLE);
|
||||
g_extern.lifecycle_state |= (1ULL << RARCH_MENU_TOGGLE);
|
||||
}
|
||||
|
||||
static bool gx_joypad_query_pad(unsigned pad)
|
||||
|
Loading…
Reference in New Issue
Block a user