@@ -7683,7 +7683,7 @@ unsigned menu_displaylist_build_list(
76837683 bool wifi_enabled = settings->bools.wifi_enabled;
76847684 bool connected = driver_wifi_connection_info(NULL);
76857685
7686- menu_displaylist_build_info_selective_t build_list[] = {
7686+ static menu_displaylist_build_info_selective_t build_list[] = {
76877687 {MENU_ENUM_LABEL_WIFI_ENABLED, PARSE_ONLY_BOOL, true},
76887688 {MENU_ENUM_LABEL_WIFI_NETWORK_SCAN, PARSE_ACTION, false},
76897689 {MENU_ENUM_LABEL_WIFI_DISCONNECT, PARSE_ACTION, false},
@@ -7883,7 +7883,7 @@ unsigned menu_displaylist_build_list(
78837883#endif
78847884 case DISPLAYLIST_AUDIO_SYNCHRONIZATION_SETTINGS_LIST:
78857885 {
7886- menu_displaylist_build_info_selective_t build_list[] = {
7886+ static menu_displaylist_build_info_selective_t build_list[] = {
78877887 {MENU_ENUM_LABEL_AUDIO_SYNC, PARSE_ONLY_BOOL, true },
78887888 {MENU_ENUM_LABEL_AUDIO_MAX_TIMING_SKEW, PARSE_ONLY_FLOAT, true },
78897889 {MENU_ENUM_LABEL_AUDIO_RATE_CONTROL_DELTA, PARSE_ONLY_FLOAT, true },
@@ -7903,7 +7903,7 @@ unsigned menu_displaylist_build_list(
79037903 break;
79047904 case DISPLAYLIST_AUDIO_SETTINGS_LIST:
79057905 {
7906- menu_displaylist_build_info_selective_t build_list[] = {
7906+ static menu_displaylist_build_info_selective_t build_list[] = {
79077907 {MENU_ENUM_LABEL_AUDIO_OUTPUT_SETTINGS, PARSE_ACTION, true },
79087908#ifdef HAVE_MICROPHONE
79097909 {MENU_ENUM_LABEL_MICROPHONE_SETTINGS, PARSE_ACTION, true },
@@ -8139,7 +8139,7 @@ unsigned menu_displaylist_build_list(
81398139 case DISPLAYLIST_INPUT_MENU_SETTINGS_LIST:
81408140 {
81418141 const char *menu_driver = menu_driver_ident();
8142- menu_displaylist_build_info_selective_t build_list[] = {
8142+ static menu_displaylist_build_info_selective_t build_list[] = {
81438143 {MENU_ENUM_LABEL_MOUSE_ENABLE, PARSE_ONLY_BOOL, true},
81448144 {MENU_ENUM_LABEL_POINTER_ENABLE, PARSE_ONLY_BOOL, true},
81458145 {MENU_ENUM_LABEL_MENU_INPUT_SWAP_OK_CANCEL, PARSE_ONLY_BOOL, true},
@@ -8183,7 +8183,7 @@ unsigned menu_displaylist_build_list(
81838183 break;
81848184 case DISPLAYLIST_INPUT_SETTINGS_LIST:
81858185 {
8186- menu_displaylist_build_info_selective_t build_list[] = {
8186+ static menu_displaylist_build_info_selective_t build_list[] = {
81878187 {MENU_ENUM_LABEL_INPUT_RETROPAD_BINDS, PARSE_ACTION, true},
81888188 {MENU_ENUM_LABEL_INPUT_TURBO_FIRE_SETTINGS, PARSE_ACTION, true},
81898189 {MENU_ENUM_LABEL_INPUT_HOTKEY_BINDS, PARSE_ACTION, true},
@@ -8278,7 +8278,7 @@ unsigned menu_displaylist_build_list(
82788278 case DISPLAYLIST_ACCESSIBILITY_SETTINGS_LIST:
82798279 {
82808280 bool accessibility_enable = settings->bools.accessibility_enable;
8281- menu_displaylist_build_info_selective_t build_list[] = {
8281+ static menu_displaylist_build_info_selective_t build_list[] = {
82828282 {MENU_ENUM_LABEL_ACCESSIBILITY_ENABLED, PARSE_ONLY_BOOL, true },
82838283 {MENU_ENUM_LABEL_ACCESSIBILITY_NARRATOR_SPEECH_SPEED, PARSE_ONLY_UINT, false },
82848284 {MENU_ENUM_LABEL_AI_SERVICE_SETTINGS, PARSE_ACTION, true },
@@ -8313,7 +8313,7 @@ unsigned menu_displaylist_build_list(
83138313 {
83148314 bool ai_service_enable = settings->bools.ai_service_enable;
83158315
8316- menu_displaylist_build_info_selective_t build_list[] = {
8316+ static menu_displaylist_build_info_selective_t build_list[] = {
83178317 {MENU_ENUM_LABEL_AI_SERVICE_ENABLE, PARSE_ONLY_BOOL, true},
83188318 {MENU_ENUM_LABEL_AI_SERVICE_MODE, PARSE_ONLY_UINT, false},
83198319 {MENU_ENUM_LABEL_AI_SERVICE_URL, PARSE_ONLY_STRING, false},
@@ -9198,8 +9198,7 @@ unsigned menu_displaylist_build_list(
91989198 bool netplay_use_mitm_server = settings->bools.netplay_use_mitm_server;
91999199 bool network_cmd_enable = settings->bools.network_cmd_enable;
92009200 bool network_remote_enable = settings->bools.network_remote_enable;
9201-
9202- menu_displaylist_build_info_selective_t build_list[] = {
9201+ static menu_displaylist_build_info_selective_t build_list[] = {
92039202#ifdef HAVE_SMBCLIENT
92049203 {MENU_ENUM_LABEL_SMB_CLIENT_SETTINGS, PARSE_ACTION, true},
92059204#endif
@@ -9308,7 +9307,7 @@ unsigned menu_displaylist_build_list(
93089307 break;
93099308 case DISPLAYLIST_NETPLAY_LOBBY_FILTERS_LIST:
93109309 {
9311- menu_displaylist_build_info_selective_t build_list[] = {
9310+ static menu_displaylist_build_info_selective_t build_list[] = {
93129311 {MENU_ENUM_LABEL_NETPLAY_SHOW_ONLY_CONNECTABLE, PARSE_ONLY_BOOL, true},
93139312 {MENU_ENUM_LABEL_NETPLAY_SHOW_ONLY_INSTALLED_CORES, PARSE_ONLY_BOOL, true},
93149313 {MENU_ENUM_LABEL_NETPLAY_SHOW_PASSWORDED, PARSE_ONLY_BOOL, true},
@@ -9534,7 +9533,7 @@ unsigned menu_displaylist_build_list(
95349533 bool has_video = is_ffmpeg
95359534 || memcmp(
95369535 settings->arrays.record_driver, "avfoundation", 13) == 0;
9537- menu_displaylist_build_info_selective_t build_list[] = {
9536+ static menu_displaylist_build_info_selective_t build_list[] = {
95389537 {MENU_ENUM_LABEL_RECORD_DRIVER, PARSE_ONLY_STRING_OPTIONS, true},
95399538 {MENU_ENUM_LABEL_VIDEO_RECORD_QUALITY, PARSE_ONLY_UINT, false},
95409539 {MENU_ENUM_LABEL_RECORD_CONFIG, PARSE_ONLY_PATH, false},
@@ -9600,7 +9599,7 @@ unsigned menu_displaylist_build_list(
96009599 case DISPLAYLIST_RETRO_ACHIEVEMENTS_SETTINGS_LIST:
96019600 {
96029601 bool cheevos_enable = settings->bools.cheevos_enable;
9603- menu_displaylist_build_info_selective_t build_list[] = {
9602+ static menu_displaylist_build_info_selective_t build_list[] = {
96049603 {MENU_ENUM_LABEL_CHEEVOS_ENABLE, PARSE_ONLY_BOOL, true },
96059604 {MENU_ENUM_LABEL_CHEEVOS_USERNAME, PARSE_ONLY_STRING, false },
96069605 {MENU_ENUM_LABEL_CHEEVOS_PASSWORD, PARSE_ONLY_STRING, false },
@@ -9645,7 +9644,7 @@ unsigned menu_displaylist_build_list(
96459644 bool cheevos_autopad = settings->bools.cheevos_appearance_padding_auto;
96469645 bool gfx_widgets = settings->bools.menu_enable_widgets;
96479646#endif
9648- menu_displaylist_build_info_selective_t build_list[] = {
9647+ static menu_displaylist_build_info_selective_t build_list[] = {
96499648 {MENU_ENUM_LABEL_CHEEVOS_APPEARANCE_ANCHOR, PARSE_ONLY_UINT, true},
96509649 {MENU_ENUM_LABEL_CHEEVOS_APPEARANCE_PADDING_AUTO, PARSE_ONLY_BOOL, true},
96519650 {MENU_ENUM_LABEL_CHEEVOS_APPEARANCE_PADDING_H, PARSE_ONLY_FLOAT, false},
@@ -9684,7 +9683,7 @@ unsigned menu_displaylist_build_list(
96849683 break;
96859684 case DISPLAYLIST_CHEEVOS_VISIBILITY_SETTINGS_LIST:
96869685 {
9687- menu_displaylist_build_info_selective_t build_list[] = {
9686+ static menu_displaylist_build_info_selective_t build_list[] = {
96889687 {MENU_ENUM_LABEL_CHEEVOS_VISIBILITY_SUMMARY, PARSE_ONLY_UINT, true},
96899688 {MENU_ENUM_LABEL_CHEEVOS_VISIBILITY_UNLOCK, PARSE_ONLY_BOOL, true},
96909689 {MENU_ENUM_LABEL_CHEEVOS_VISIBILITY_MASTERY, PARSE_ONLY_BOOL, true},
@@ -9736,7 +9735,7 @@ unsigned menu_displaylist_build_list(
97369735#endif
97379736 uico_driver_state_t *uico_st = uico_state_get_ptr();
97389737
9739- menu_displaylist_build_info_selective_t build_list[] = {
9738+ static menu_displaylist_build_info_selective_t build_list[] = {
97409739 {MENU_ENUM_LABEL_MENU_SETTINGS, PARSE_ACTION, true},
97419740 {MENU_ENUM_LABEL_MENU_VIEWS_SETTINGS, PARSE_ACTION, true},
97429741 {MENU_ENUM_LABEL_INPUT_MENU_SETTINGS, PARSE_ACTION, true},
@@ -9867,7 +9866,7 @@ unsigned menu_displaylist_build_list(
98679866#else
98689867 bool window_custom_size_enable = settings->bools.video_window_custom_size_enable;
98699868#endif
9870- menu_displaylist_build_info_selective_t build_list[] = {
9869+ static menu_displaylist_build_info_selective_t build_list[] = {
98719870#if (defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__)) || \
98729871 (defined(HAVE_COCOA_METAL) && !defined(HAVE_COCOATOUCH))
98739872 {MENU_ENUM_LABEL_VIDEO_WINDOW_SAVE_POSITION, PARSE_ONLY_BOOL, true },
@@ -9921,7 +9920,7 @@ unsigned menu_displaylist_build_list(
99219920 break;
99229921 case DISPLAYLIST_VIDEO_FULLSCREEN_MODE_SETTINGS_LIST:
99239922 {
9924- menu_displaylist_build_info_selective_t build_list[] = {
9923+ static menu_displaylist_build_info_selective_t build_list[] = {
99259924 {MENU_ENUM_LABEL_VIDEO_FULLSCREEN, PARSE_ONLY_BOOL, true },
99269925 {MENU_ENUM_LABEL_VIDEO_WINDOWED_FULLSCREEN, PARSE_ONLY_BOOL, true },
99279926 {MENU_ENUM_LABEL_VIDEO_FULLSCREEN_X, PARSE_ONLY_UINT, true },
@@ -10371,7 +10370,7 @@ unsigned menu_displaylist_build_list(
1037110370#endif
1037210371 case DISPLAYLIST_MENU_VIEWS_SETTINGS_LIST:
1037310372 {
10374- menu_displaylist_build_info_selective_t build_list[] = {
10373+ static menu_displaylist_build_info_selective_t build_list[] = {
1037510374 {MENU_ENUM_LABEL_QUICK_MENU_VIEWS_SETTINGS, PARSE_ACTION, true },
1037610375 {MENU_ENUM_LABEL_SETTINGS_VIEWS_SETTINGS, PARSE_ACTION, true },
1037710376 {MENU_ENUM_LABEL_MENU_SHOW_LOAD_CORE, PARSE_ONLY_BOOL, true },
@@ -10500,7 +10499,7 @@ unsigned menu_displaylist_build_list(
1050010499 input_overlay_show_inputs = (enum overlay_show_input_type)
1050110500 settings->uints.input_overlay_show_inputs;
1050210501
10503- menu_displaylist_build_info_selective_t build_list[] = {
10502+ static menu_displaylist_build_info_selective_t build_list[] = {
1050410503 {MENU_ENUM_LABEL_INPUT_OVERLAY_ENABLE, PARSE_ONLY_BOOL, true },
1050510504 {MENU_ENUM_LABEL_OVERLAY_AUTOLOAD_PREFERRED, PARSE_ONLY_BOOL, false },
1050610505 {MENU_ENUM_LABEL_OVERLAY_PRESET, PARSE_ONLY_PATH, false },
@@ -10699,7 +10698,7 @@ unsigned menu_displaylist_build_list(
1069910698 bool runahead_enabled = settings->bools.run_ahead_enabled;
1070010699 bool preempt_enabled = settings->bools.preemptive_frames_enable;
1070110700#endif
10702- menu_displaylist_build_info_selective_t build_list[] = {
10701+ static menu_displaylist_build_info_selective_t build_list[] = {
1070310702 {MENU_ENUM_LABEL_VIDEO_FRAME_DELAY_AUTO, PARSE_ONLY_BOOL, true },
1070410703 {MENU_ENUM_LABEL_VIDEO_FRAME_DELAY, PARSE_ONLY_UINT, true },
1070510704#ifdef HAVE_RUNAHEAD
@@ -10825,7 +10824,7 @@ unsigned menu_displaylist_build_list(
1082510824#else
1082610825 bool widgets_active = false;
1082710826#endif
10828- menu_displaylist_build_info_selective_t build_list[] = {
10827+ static menu_displaylist_build_info_selective_t build_list[] = {
1082910828 {MENU_ENUM_LABEL_ONSCREEN_NOTIFICATIONS_VIEWS_SETTINGS, PARSE_ACTION, false },
1083010829 {MENU_ENUM_LABEL_VIDEO_FONT_ENABLE, PARSE_ONLY_BOOL, true },
1083110830 {MENU_ENUM_LABEL_MENU_WIDGETS_ENABLE, PARSE_ONLY_BOOL, false },
@@ -10927,7 +10926,7 @@ unsigned menu_displaylist_build_list(
1092710926#else
1092810927 bool notifications_active = video_font_enable;
1092910928#endif
10930- menu_displaylist_build_info_selective_t build_list[] = {
10929+ static menu_displaylist_build_info_selective_t build_list[] = {
1093110930 {MENU_ENUM_LABEL_FPS_SHOW, PARSE_ONLY_BOOL, false },
1093210931 {MENU_ENUM_LABEL_FPS_UPDATE_INTERVAL, PARSE_ONLY_UINT, false },
1093310932 {MENU_ENUM_LABEL_FRAMECOUNT_SHOW, PARSE_ONLY_BOOL, false },
@@ -11093,7 +11092,7 @@ unsigned menu_displaylist_build_list(
1109311092 bool savestate_auto_index = settings->bools.savestate_auto_index;
1109411093 bool replay_auto_index = settings->bools.replay_auto_index;
1109511094
11096- menu_displaylist_build_info_selective_t build_list[] = {
11095+ static menu_displaylist_build_info_selective_t build_list[] = {
1109711096#if HAVE_CLOUDSYNC
1109811097 {MENU_ENUM_LABEL_CLOUD_SYNC_SETTINGS, PARSE_ACTION, true},
1109911098#endif
@@ -11164,7 +11163,7 @@ unsigned menu_displaylist_build_list(
1116411163 break;
1116511164 case DISPLAYLIST_CLOUD_SYNC_SETTINGS_LIST:
1116611165 {
11167- menu_displaylist_build_info_selective_t build_list[] = {
11166+ static menu_displaylist_build_info_selective_t build_list[] = {
1116811167 {MENU_ENUM_LABEL_CLOUD_SYNC_ENABLE, PARSE_ONLY_BOOL, true},
1116911168 {MENU_ENUM_LABEL_CLOUD_SYNC_SYNC_MODE, PARSE_ONLY_UINT, true},
1117011169 {MENU_ENUM_LABEL_CLOUD_SYNC_DESTRUCTIVE, PARSE_ONLY_BOOL, true},
@@ -11244,7 +11243,7 @@ unsigned menu_displaylist_build_list(
1124411243#ifdef HAVE_MIST
1124511244 case DISPLAYLIST_STEAM_SETTINGS_LIST:
1124611245 {
11247- menu_displaylist_build_info_selective_t build_list[] = {
11246+ static menu_displaylist_build_info_selective_t build_list[] = {
1124811247 {MENU_ENUM_LABEL_STEAM_RICH_PRESENCE_ENABLE, PARSE_ONLY_BOOL, true},
1124911248 {MENU_ENUM_LABEL_STEAM_RICH_PRESENCE_FORMAT, PARSE_ONLY_UINT, false},
1125011249 };
@@ -11280,7 +11279,7 @@ unsigned menu_displaylist_build_list(
1128011279#ifdef HAVE_TRANSLATE
1128111280 bool settings_show_ai_service = settings->bools.settings_show_ai_service;
1128211281#endif
11283- menu_displaylist_build_info_selective_t build_list[] = {
11282+ static menu_displaylist_build_info_selective_t build_list[] = {
1128411283 {MENU_ENUM_LABEL_USER_INTERFACE_SETTINGS, PARSE_ACTION, true},
1128511284 {MENU_ENUM_LABEL_VIDEO_SETTINGS, PARSE_ACTION, true},
1128611285 {MENU_ENUM_LABEL_AUDIO_SETTINGS, PARSE_ACTION, true},
@@ -11799,7 +11798,7 @@ unsigned menu_displaylist_build_list(
1179911798 case DISPLAYLIST_LOGGING_SETTINGS_LIST:
1180011799 {
1180111800 bool log_to_file = settings->bools.log_to_file;
11802- menu_displaylist_build_info_selective_t build_list[] = {
11801+ static menu_displaylist_build_info_selective_t build_list[] = {
1180311802 {MENU_ENUM_LABEL_LOG_VERBOSITY, PARSE_ONLY_BOOL, true},
1180411803 {MENU_ENUM_LABEL_FRONTEND_LOG_LEVEL, PARSE_ONLY_UINT, false},
1180511804 {MENU_ENUM_LABEL_LIBRETRO_LOG_LEVEL, PARSE_ONLY_UINT, false},
@@ -11840,7 +11839,7 @@ unsigned menu_displaylist_build_list(
1184011839 break;
1184111840 case DISPLAYLIST_FRAME_TIME_COUNTER_SETTINGS_LIST:
1184211841 {
11843- menu_displaylist_build_info_selective_t build_list[] = {
11842+ static menu_displaylist_build_info_selective_t build_list[] = {
1184411843 {MENU_ENUM_LABEL_VIDEO_REFRESH_RATE_AUTO, PARSE_ONLY_FLOAT, true},
1184511844 {MENU_ENUM_LABEL_FRAME_TIME_COUNTER_RESET_AFTER_FASTFORWARDING, PARSE_ONLY_BOOL, true},
1184611845 {MENU_ENUM_LABEL_FRAME_TIME_COUNTER_RESET_AFTER_LOAD_STATE, PARSE_ONLY_BOOL, true},
@@ -11858,7 +11857,7 @@ unsigned menu_displaylist_build_list(
1185811857 break;
1185911858 case DISPLAYLIST_REWIND_SETTINGS_LIST:
1186011859 {
11861- menu_displaylist_build_info_selective_t build_list[] = {
11860+ static menu_displaylist_build_info_selective_t build_list[] = {
1186211861 {MENU_ENUM_LABEL_REWIND_ENABLE, PARSE_ONLY_BOOL, true },
1186311862 {MENU_ENUM_LABEL_REWIND_GRANULARITY, PARSE_ONLY_UINT, true },
1186411863 {MENU_ENUM_LABEL_REWIND_BUFFER_SIZE, PARSE_ONLY_SIZE, true },
@@ -11883,7 +11882,7 @@ unsigned menu_displaylist_build_list(
1188311882#ifdef HAVE_REWIND
1188411883 bool rewind_supported = true;
1188511884#endif
11886- menu_displaylist_build_info_selective_t build_list[] = {
11885+ static menu_displaylist_build_info_selective_t build_list[] = {
1188711886#ifdef HAVE_REWIND
1188811887 {MENU_ENUM_LABEL_REWIND_SETTINGS, PARSE_ACTION, false},
1188911888#endif
@@ -11953,7 +11952,7 @@ unsigned menu_displaylist_build_list(
1195311952 unsigned menu_screensaver_timeout = settings->uints.menu_screensaver_timeout;
1195411953 unsigned ozone_font_scale = settings->uints.menu_ozone_font_scale;
1195511954
11956- menu_displaylist_build_info_selective_t build_list[] = {
11955+ static menu_displaylist_build_info_selective_t build_list[] = {
1195711956 {MENU_ENUM_LABEL_MENU_SCALE_FACTOR, PARSE_ONLY_FLOAT, true},
1195811957 {MENU_ENUM_LABEL_OZONE_PADDING_FACTOR, PARSE_ONLY_FLOAT, true},
1195911958 {MENU_ENUM_LABEL_MENU_FRAMEBUFFER_OPACITY, PARSE_ONLY_FLOAT, true},
@@ -12126,7 +12125,7 @@ unsigned menu_displaylist_build_list(
1212612125 {
1212712126 bool video_3ds_lcd_bottom = settings->bools.video_3ds_lcd_bottom;
1212812127
12129- menu_displaylist_build_info_selective_t build_list[] = {
12128+ static menu_displaylist_build_info_selective_t build_list[] = {
1213012129 {MENU_ENUM_LABEL_VIDEO_3DS_LCD_BOTTOM, PARSE_ONLY_BOOL, true},
1213112130 {MENU_ENUM_LABEL_BOTTOM_ASSETS_DIRECTORY, PARSE_ONLY_DIR, false},
1213212131 {MENU_ENUM_LABEL_BOTTOM_FONT_ENABLE, PARSE_ONLY_BOOL, false},
@@ -12208,7 +12207,7 @@ unsigned menu_displaylist_build_list(
1220812207 {
1220912208 bool smb_enable = settings->bools.smb_client_enable;
1221012209
12211- menu_displaylist_build_info_selective_t build_list[] = {
12210+ static menu_displaylist_build_info_selective_t build_list[] = {
1221212211 {MENU_ENUM_LABEL_SMB_CLIENT_ENABLE, PARSE_ONLY_BOOL, true},
1221312212 {MENU_ENUM_LABEL_SMB_CLIENT_SERVER, PARSE_ONLY_STRING, false},
1221412213 {MENU_ENUM_LABEL_SMB_CLIENT_SHARE, PARSE_ONLY_STRING, false},
@@ -12525,7 +12524,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
1252512524 bool netplay_allow_slaves = settings->bools.netplay_allow_slaves;
1252612525 bool netplay_use_mitm_server = settings->bools.netplay_use_mitm_server;
1252712526
12528- menu_displaylist_build_info_selective_t build_list[] = {
12527+ static menu_displaylist_build_info_selective_t build_list[] = {
1252912528 {MENU_ENUM_LABEL_NETPLAY_TCP_UDP_PORT, PARSE_ONLY_UINT, true},
1253012529 {MENU_ENUM_LABEL_NETPLAY_MAX_CONNECTIONS, PARSE_ONLY_UINT, true},
1253112530 {MENU_ENUM_LABEL_NETPLAY_MAX_PING, PARSE_ONLY_UINT, true},
0 commit comments