mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 10:36:50 +00:00
Backpot neagix patch - prevent last button input when resuming from
menu
This commit is contained in:
parent
d106fc5f6a
commit
d22999ab14
@ -279,6 +279,9 @@ int main_entry_iterate(signature(), args_type() args)
|
||||
g_extern.audio_active = false;
|
||||
}
|
||||
|
||||
while (menu_input())
|
||||
rarch_input_poll();
|
||||
|
||||
// Restore libretro keyboard callback.
|
||||
g_extern.system.key_event = key_event;
|
||||
}
|
||||
|
@ -488,7 +488,7 @@ void menu_ticker_line(char *buf, size_t len, unsigned index, const char *str, bo
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
static uint64_t menu_input(void)
|
||||
uint64_t menu_input(void)
|
||||
{
|
||||
unsigned i;
|
||||
uint64_t input_state = 0;
|
||||
|
@ -381,6 +381,8 @@ unsigned menu_type_is(unsigned type);
|
||||
|
||||
void menu_key_event(bool down, unsigned keycode, uint32_t character, uint16_t key_modifiers);
|
||||
|
||||
uint64_t menu_input(void);
|
||||
|
||||
extern const menu_ctx_driver_t *menu_ctx;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user