1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-02 19:13:34 +00:00

(PC) Fix RGUI build

(RGUI) Swap Start and Select buttons - Start is more commonly
found on gamepads than Select - Start does 'settings screen switch'
now and Select does 'reset to default' setting
This commit is contained in:
twinaphex 2013-03-24 06:45:35 +01:00
parent 9a1cbdce85
commit 6905a38476
2 changed files with 3 additions and 3 deletions
Makefile
frontend/menu

@ -79,7 +79,7 @@ ifneq ($(findstring Linux,$(OS)),)
endif
ifeq ($(HAVE_RGUI), 1)
OBJ += frontend/menu/rgui.o frontend/menu/utils/file_list.o frontend/menu/menu_settings.o
OBJ += frontend/menu/rgui.o frontend/menu/utils/file_list.o
endif
ifeq ($(HAVE_THREADS), 1)

@ -1796,9 +1796,9 @@ bool menu_iterate(void)
action = RGUI_ACTION_CANCEL;
else if (trigger_state & (1ULL << DEVICE_NAV_A))
action = RGUI_ACTION_OK;
else if (trigger_state & (1ULL << DEVICE_NAV_START))
action = RGUI_ACTION_START;
else if (trigger_state & (1ULL << DEVICE_NAV_SELECT))
action = RGUI_ACTION_START;
else if (trigger_state & (1ULL << DEVICE_NAV_START))
action = RGUI_ACTION_SETTINGS;
#ifdef GEKKO
else if (trigger_state & (1ULL << DEVICE_NAV_QUIT))