(GX) Experiment to see if menu triggering can still work through this

new mechanism
This commit is contained in:
twinaphex 2014-10-13 05:16:59 +02:00
parent 44b771813a
commit b490e22080
2 changed files with 2 additions and 6 deletions

View File

@ -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)

View File

@ -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)