mirror of
https://github.com/libretro/RetroArch
synced 2025-03-16 07:21:03 +00:00
(Menu) Cut down on unnecessary HAVE_RGUI ifdefs where appropriate, and
replace with HAVE_MENU where possible
This commit is contained in:
parent
966db762cf
commit
b70d6292ff
@ -3912,10 +3912,8 @@ static int menu_common_setting_set(unsigned setting, unsigned action)
|
||||
if (driver.menu->current_pad < MAX_PLAYERS - 1)
|
||||
driver.menu->current_pad++;
|
||||
}
|
||||
#ifdef HAVE_RGUI
|
||||
if (port != driver.menu->current_pad)
|
||||
driver.menu->need_refresh = true;
|
||||
#endif
|
||||
port = driver.menu->current_pad;
|
||||
break;
|
||||
case MENU_SETTINGS_BIND_DEVICE:
|
||||
|
@ -927,7 +927,7 @@ static const video_poke_interface_t lima_poke_interface = {
|
||||
#endif
|
||||
lima_set_aspect_ratio,
|
||||
lima_apply_state_changes,
|
||||
#if defined(HAVE_RGUI) || defined(HAVE_RMENU) /* TODO: only HAVE_MENU i think */
|
||||
#ifdef HAVE_MENU
|
||||
lima_set_texture_frame,
|
||||
lima_set_texture_enable,
|
||||
#endif
|
||||
|
@ -608,7 +608,7 @@ MENU
|
||||
#include "../frontend/menu/history.c"
|
||||
#include "../frontend/menu/file_list.c"
|
||||
|
||||
#if defined(HAVE_RMENU) || defined(HAVE_RGUI) || defined(HAVE_RMENU_XUI)
|
||||
#ifdef HAVE_MENU
|
||||
#include "../frontend/menu/backend/menu_common_backend.c"
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user