mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
Cleanups
This commit is contained in:
parent
259cd900da
commit
4f678dfdfc
@ -31,6 +31,7 @@
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#include "../menu/menu_driver.h"
|
||||
#include "../menu/menu_input.h"
|
||||
#include "../menu/widgets/menu_input_dialog.h"
|
||||
#endif
|
||||
|
||||
@ -562,9 +563,6 @@ uint64_t input_menu_keys_pressed(void *data, uint64_t last_input)
|
||||
const struct retro_keybind *binds_auto = NULL;
|
||||
unsigned max_users = input_driver_max_users;
|
||||
|
||||
if (settings->bools.menu_unified_controls && !menu_input_dialog_get_display_kb())
|
||||
return input_keys_pressed(settings, last_input);
|
||||
|
||||
for (i = 0; i < max_users; i++)
|
||||
{
|
||||
struct retro_keybind *auto_binds = input_autoconf_binds[i];
|
||||
|
@ -2306,7 +2306,7 @@ static enum runloop_state runloop_check_state(
|
||||
bool menu_driver_binding_state = menu_driver_is_binding_state();
|
||||
bool menu_is_alive = menu_driver_is_alive();
|
||||
uint64_t current_input =
|
||||
menu_is_alive ?
|
||||
menu_is_alive && !(settings->bools.menu_unified_controls && !menu_input_dialog_get_display_kb())?
|
||||
input_menu_keys_pressed(settings, last_input) :
|
||||
input_keys_pressed(settings, last_input);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user