RetroArch
configuration.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2016 - Daniel De Matteis
4  * Copyright (C) 2014-2016 - Jean-AndrĂ© Santoni
5  * Copyright (C) 2016 - Brad Parker
6  *
7  * RetroArch is free software: you can redistribute it and/or modify it under the terms
8  * of the GNU General Public License as published by the Free Software Found-
9  * ation, either version 3 of the License, or (at your option) any later version.
10  *
11  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
12  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  * PURPOSE. See the GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along with RetroArch.
16  * If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef __RARCH_CONFIGURATION_H__
20 #define __RARCH_CONFIGURATION_H__
21 
22 #include <stdint.h>
23 
24 #include <boolean.h>
25 #include <retro_common_api.h>
26 #include <retro_miscellaneous.h>
27 
28 #include "gfx/video_driver.h"
29 #include "input/input_defines.h"
30 #include "led/led_defines.h"
31 
32 #define configuration_set_float(settings, var, newvar) \
33 { \
34  settings->modified = true; \
35  var = newvar; \
36 }
37 
38 #define configuration_set_bool(settings, var, newvar) \
39 { \
40  settings->modified = true; \
41  var = newvar; \
42 }
43 
44 #define configuration_set_uint(settings, var, newvar) \
45 { \
46  settings->modified = true; \
47  var = newvar; \
48 }
49 
50 #define configuration_set_int(settings, var, newvar) \
51 { \
52  settings->modified = true; \
53  var = newvar; \
54 }
55 
57 {
61 };
62 
64 {
69 };
70 
72 
73 typedef struct settings
74 {
75  struct
76  {
78 
79  /* Video */
109 
110  /* Audio */
117 
118  /* Input */
133 
134  /* Menu */
201 
203 
204  /* Netplay */
213 
214  /* Network */
216 
217  /* UI */
224 
225  /* Cheevos */
233 
234  /* Camera */
236 
237  /* WiFi */
239 
240  /* Location */
242 
243  /* Multimedia */
246 
247  /* Bundle */
250 
251  /* Misc. */
279 
284 
289 
297 
301 
303  } bools;
304 
305  struct
306  {
307  float placeholder;
308  float video_scale;
319 
324 
326  float audio_volume; /* dB scale. */
327  float audio_mixer_volume; /* dB scale. */
328 
331 
334  } floats;
335 
336  struct
337  {
345  } ints;
346 
347  struct
348  {
349  unsigned placeholder;
350  unsigned audio_out_rate;
352  unsigned audio_latency;
353 
355 
358 
360  unsigned input_bind_hold;
361 
365  unsigned netplay_port;
379  unsigned keymapper_port;
390  unsigned video_viwidth;
392  unsigned video_rotation;
401 
403  unsigned menu_thumbnails;
413  unsigned menu_xmb_layout;
417  unsigned menu_xmb_theme;
424 
425  unsigned camera_width;
426  unsigned camera_height;
427 
429 
434  /* Set by autoconfiguration in joypad_autoconfig_dir.
435  * Does not override main binds. */
438 
440 
442 
443  unsigned led_map[MAX_LEDS];
444 
446 
447  unsigned midi_volume;
448  unsigned streaming_mode;
449 
454 
456 
457  unsigned libnx_overclock;
458  } uints;
459 
460  struct
461  {
462  size_t placeholder;
464  } sizes;
465 
466  struct
467  {
469 
470  char video_driver[32];
471  char record_driver[32];
472  char camera_driver[32];
473  char wifi_driver[32];
474  char led_driver[32];
475  char location_driver[32];
476  char menu_driver[32];
479  char cheevos_token[32];
481  char audio_driver[32];
482  char audio_resampler[32];
483  char input_driver[32];
485  char midi_driver[32];
486 
488 
489  char audio_device[255];
490  char camera_device[255];
491 
497 
499 
500  char midi_input[32];
501  char midi_output[32];
502 
505 
507  } arrays;
508 
509  struct
510  {
511  char placeholder;
512 
513  char username[32];
514  char netplay_password[128];
516  char netplay_server[255];
519  char browse_url[4096];
520 
529  char path_stream_url[8192];
543 
566  } paths;
567 
568  bool modified;
569 
571 
572 } settings_t;
573 
581 const char *config_get_default_camera(void);
582 
590 const char *config_get_default_wifi(void);
591 
599 const char *config_get_default_location(void);
600 
608 const char *config_get_default_video(void);
609 
617 const char *config_get_default_audio(void);
618 
626 const char *config_get_default_audio_resampler(void);
627 
635 const char *config_get_default_input(void);
636 
644 const char *config_get_default_joypad(void);
645 
653 const char *config_get_default_menu(void);
654 
655 const char *config_get_default_midi(void);
656 const char *config_get_midi_driver_options(void);
657 
658 const char *config_get_default_record(void);
659 
666 void config_load(void);
667 
678 bool config_load_override(void);
679 
688 bool config_unload_override(void);
689 
698 bool config_load_remap(void);
699 
708 bool config_load_shader_preset(void);
709 
716 bool config_save_autoconf_profile(const char *path, unsigned user);
717 
726 bool config_save_file(const char *path);
727 
737 
738 /* Replaces currently loaded configuration file with
739  * another one. Will load a dummy core to flush state
740  * properly. */
741 bool config_replace(bool config_save_on_exit, char *path);
742 
743 bool config_init(void);
744 
746 
747 void config_set_defaults(void);
748 
749 void config_free(void);
750 
752 
754 
755 #endif
bool input_keyboard_gamepad_enable
Definition: configuration.h:132
bool playlist_entry_remove
Definition: configuration.h:257
char directory_input_remapping[PATH_MAX_LENGTH]
Definition: configuration.h:552
size_t placeholder
Definition: configuration.h:462
unsigned video_msg_bgcolor_green
Definition: configuration.h:394
bool savestate_auto_load
Definition: configuration.h:270
bool input_overlay_hide_in_menu
Definition: configuration.h:123
unsigned netplay_input_latency_frames_min
Definition: configuration.h:366
bool multimedia_builtin_imageviewer_enable
Definition: configuration.h:245
unsigned window_position_width
Definition: configuration.h:452
bool crt_switch_custom_refresh_enable
Definition: configuration.h:202
unsigned menu_border_light_color
Definition: configuration.h:412
float input_overlay_scale
Definition: configuration.h:330
bool menu_show_reboot
Definition: configuration.h:160
int state_slot
Definition: configuration.h:342
bool quick_menu_show_cheats
Definition: configuration.h:192
struct settings::@14 bools
unsigned menu_bg_light_color
Definition: configuration.h:410
char directory_menu_config[PATH_MAX_LENGTH]
Definition: configuration.h:563
bool input_autodetect_enable
Definition: configuration.h:120
unsigned video_record_threads
Definition: configuration.h:455
unsigned menu_xmb_theme
Definition: configuration.h:417
float audio_mixer_volume
Definition: configuration.h:327
unsigned input_keymapper_ids[MAX_USERS][RARCH_CUSTOM_BIND_LIST_END]
Definition: configuration.h:439
bool sort_savestates_enable
Definition: configuration.h:286
bool audio_wasapi_exclusive_mode
Definition: configuration.h:115
bool quick_menu_show_save_content_dir_overrides
Definition: configuration.h:196
float fastforward_ratio
Definition: configuration.h:333
unsigned input_poll_type_behavior
Definition: configuration.h:364
bool netplay_stateless_mode
Definition: configuration.h:209
bool video_allow_rotate
Definition: configuration.h:100
bool auto_remaps_enable
Definition: configuration.h:282
const char * config_get_default_input(void)
Definition: configuration.c:838
bool auto_shaders_enable
Definition: configuration.h:283
bool menu_unified_controls
Definition: configuration.h:182
unsigned video_rotation
Definition: configuration.h:392
bool menu_xmb_vertical_thumbnails
Definition: configuration.h:170
size_t rewind_buffer_size
Definition: configuration.h:463
bool menu_show_online_updater
Definition: configuration.h:152
char netplay_server[255]
Definition: configuration.h:516
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
bool network_remote_enable
Definition: configuration.h:275
bool cheevos_verbose_enable
Definition: configuration.h:231
bool quick_menu_show_save_core_overrides
Definition: configuration.h:194
char midi_output[32]
Definition: configuration.h:501
bool game_specific_options
Definition: configuration.h:280
char cheevos_username[32]
Definition: configuration.h:477
char directory_overlay[PATH_MAX_LENGTH]
Definition: configuration.h:553
unsigned menu_title_color
Definition: configuration.h:408
unsigned netplay_share_digital
Definition: configuration.h:368
bool audio_enable
Definition: configuration.h:111
bool input_small_keyboard_enable
Definition: configuration.h:131
bool threaded_data_runloop_enable
Definition: configuration.h:253
RETRO_BEGIN_DECLS struct settings settings_t
unsigned menu_xmb_alpha_factor
Definition: configuration.h:416
char path_content_database[PATH_MAX_LENGTH]
Definition: configuration.h:525
bool video_fps_show
Definition: configuration.h:103
unsigned crt_switch_resolution
Definition: configuration.h:381
char midi_input[32]
Definition: configuration.h:500
bool video_shared_context
Definition: configuration.h:101
unsigned video_frame_delay
Definition: configuration.h:389
Definition: audio_driver.h:81
Definition: led_driver.h:30
void config_load(void)
Definition: configuration.c:4010
bool quick_menu_show_save_game_overrides
Definition: configuration.h:195
bool ui_companion_toggle
Definition: configuration.h:222
char path_record_config[PATH_MAX_LENGTH]
Definition: configuration.h:527
int netplay_check_frames
Definition: configuration.h:339
bool savestate_thumbnail_enable
Definition: configuration.h:271
char path_cheat_database[PATH_MAX_LENGTH]
Definition: configuration.h:524
unsigned menu_border_dark_color
Definition: configuration.h:411
bool network_cmd_enable
Definition: configuration.h:272
bool menu_content_show_video
Definition: configuration.h:175
bool menu_show_quit_retroarch
Definition: configuration.h:159
bool camera_allow
Definition: configuration.h:235
bool video_crop_overscan
Definition: configuration.h:89
unsigned input_overlay_show_physical_inputs_port
Definition: configuration.h:428
GLsizei const GLchar ** path
Definition: glext.h:7901
unsigned libnx_overclock
Definition: configuration.h:457
bool savefiles_in_content_dir
Definition: configuration.h:290
char streaming_title[PATH_MAX_LENGTH]
Definition: configuration.h:565
const char * config_get_default_camera(void)
Definition: configuration.c:973
bool video_window_show_decorations
Definition: configuration.h:299
char directory_libretro[PATH_MAX_LENGTH]
Definition: configuration.h:550
bool quick_menu_show_save_load_state
Definition: configuration.h:184
bool sort_savefiles_enable
Definition: configuration.h:285
unsigned window_position_y
Definition: configuration.h:451
bool input_backtouch_enable
Definition: configuration.h:129
char twitch_stream_key[PATH_MAX_LENGTH]
Definition: configuration.h:504
char playlist_names[PATH_MAX_LENGTH]
Definition: configuration.h:492
char network_buildbot_url[255]
Definition: configuration.h:517
char directory_cursor[PATH_MAX_LENGTH]
Definition: configuration.h:551
bool quick_menu_show_options
Definition: configuration.h:190
float menu_framebuffer_opacity
Definition: configuration.h:321
unsigned window_position_x
Definition: configuration.h:450
bool cheevos_enable
Definition: configuration.h:226
bool menu_navigation_wraparound_enable
Definition: configuration.h:145
bool location_allow
Definition: configuration.h:241
bool video_gpu_screenshot
Definition: configuration.h:99
bool discord_enable
Definition: configuration.h:252
unsigned input_mouse_index[MAX_USERS]
Definition: configuration.h:433
struct settings::@16 ints
unsigned network_cmd_port
Definition: configuration.h:377
char directory_resampler[PATH_MAX_LENGTH]
Definition: configuration.h:554
bool quick_menu_show_start_streaming
Definition: configuration.h:188
bool video_memory_show
Definition: configuration.h:106
bool video_hard_sync
Definition: configuration.h:84
bool netplay_allow_slaves
Definition: configuration.h:207
char youtube_stream_key[PATH_MAX_LENGTH]
Definition: configuration.h:503
char video_context_driver[32]
Definition: configuration.h:480
char menu_driver[32]
Definition: configuration.h:476
bool run_ahead_enabled
Definition: configuration.h:263
bool ssh_enable
Definition: configuration.h:294
bool menu_show_shutdown
Definition: configuration.h:161
void config_set_defaults(void)
Definition: configuration.c:1750
Definition: wifi_driver.h:47
unsigned input_analog_dpad_mode[MAX_USERS]
Definition: configuration.h:437
bool menu_rgui_border_filler_thickness_enable
Definition: configuration.h:167
bool menu_show_overlays
Definition: configuration.h:164
bool cheevos_hardcore_mode_enable
Definition: configuration.h:228
bool ui_companion_enable
Definition: configuration.h:221
unsigned menu_entry_normal_color
Definition: configuration.h:406
const char * config_get_default_location(void)
Definition: configuration.c:1035
bool input_overlay_show_physical_inputs
Definition: configuration.h:124
char path_core_options[PATH_MAX_LENGTH]
Definition: configuration.h:533
bool menu_show_help
Definition: configuration.h:158
unsigned input_turbo_period
Definition: configuration.h:356
bool ui_suspend_screensaver_enable
Definition: configuration.h:219
unsigned video_monitor_index
Definition: configuration.h:383
bool menu_content_show_settings
Definition: configuration.h:171
const char * config_get_default_joypad(void)
Definition: configuration.c:906
unsigned video_aspect_ratio_idx
Definition: configuration.h:391
char path_content_image_history[PATH_MAX_LENGTH]
Definition: configuration.h:537
bool config_load_remap(void)
Definition: configuration.c:3462
unsigned input_turbo_duty_cycle
Definition: configuration.h:357
bool video_font_enable
Definition: configuration.h:95
bool filter_by_current_core
Definition: configuration.h:135
bool video_black_frame_insertion
Definition: configuration.h:85
struct settings::@20 paths
settings_t * config_get_ptr(void)
Definition: configuration.c:616
bool video_3ds_lcd_bottom
Definition: configuration.h:108
char kiosk_mode_password[PATH_MAX_LENGTH]
Definition: configuration.h:523
bool video_scale_integer
Definition: configuration.h:91
#define PATH_MAX_LENGTH
Definition: retro_miscellaneous.h:83
bool menu_pointer_enable
Definition: configuration.h:144
unsigned netplay_share_analog
Definition: configuration.h:369
bool video_disable_composition
Definition: configuration.h:96
char directory_assets[PATH_MAX_LENGTH]
Definition: configuration.h:560
bool bluetooth_enable
Definition: configuration.h:296
char path_stream_config[PATH_MAX_LENGTH]
Definition: configuration.h:528
unsigned rewind_buffer_size_step
Definition: configuration.h:375
bool menu_xmb_shadows_enable
Definition: configuration.h:169
float video_font_size
Definition: configuration.h:312
float placeholder
Definition: configuration.h:307
unsigned menu_bg_dark_color
Definition: configuration.h:409
unsigned network_remote_base_port
Definition: configuration.h:378
bool netplay_require_slaves
Definition: configuration.h:208
bool samba_enable
Definition: configuration.h:295
unsigned video_stream_port
Definition: configuration.h:396
bool sustained_performance_mode
Definition: configuration.h:302
char camera_device[255]
Definition: configuration.h:490
unsigned input_keyboard_gamepad_mapping_type
Definition: configuration.h:363
bool menu_show_load_core
Definition: configuration.h:154
bool savestate_auto_index
Definition: configuration.h:268
crt_switch_type
Definition: configuration.h:56
char audio_resampler[32]
Definition: configuration.h:482
char directory_video_filter[PATH_MAX_LENGTH]
Definition: configuration.h:546
bool menu_show_information
Definition: configuration.h:156
char path_menu_wallpaper[PATH_MAX_LENGTH]
Definition: configuration.h:530
bool savestates_in_content_dir
Definition: configuration.h:291
unsigned input_bind_timeout
Definition: configuration.h:359
bool cheevos_auto_screenshot
Definition: configuration.h:232
const char * config_get_midi_driver_options(void)
Definition: configuration.c:1108
char path_shader[PATH_MAX_LENGTH]
Definition: configuration.h:541
char browse_url[4096]
Definition: configuration.h:519
char directory_screenshot[PATH_MAX_LENGTH]
Definition: configuration.h:555
bool audio_rate_control
Definition: configuration.h:114
struct settings::@18 sizes
float slowmotion_ratio
Definition: configuration.h:332
float crt_video_refresh_rate
Definition: configuration.h:311
unsigned run_ahead_frames
Definition: configuration.h:445
bool cheevos_badges_enable
Definition: configuration.h:230
unsigned camera_width
Definition: configuration.h:425
float menu_footer_opacity
Definition: configuration.h:322
bool menu_content_show_netplay
Definition: configuration.h:176
bool config_save_file(const char *path)
Definition: configuration.c:4182
static bool config_save_on_exit
Definition: config.def.h:259
unsigned rewind_granularity
Definition: configuration.h:374
char menu_content_show_settings_password[PATH_MAX_LENGTH]
Definition: configuration.h:522
unsigned crt_switch_resolution_super
Definition: configuration.h:382
char directory_playlist[PATH_MAX_LENGTH]
Definition: configuration.h:558
float audio_volume
Definition: configuration.h:326
Definition: input_driver.h:132
char bundle_assets_src[PATH_MAX_LENGTH]
Definition: configuration.h:494
unsigned menu_font_color_green
Definition: configuration.h:422
char directory_audio_filter[PATH_MAX_LENGTH]
Definition: configuration.h:544
bool ui_menubar_enable
Definition: configuration.h:218
unsigned input_menu_toggle_gamepad_combo
Definition: configuration.h:362
float video_msg_color_g
Definition: configuration.h:316
unsigned menu_xmb_scale_factor
Definition: configuration.h:415
unsigned menu_materialui_color_theme
Definition: configuration.h:419
bool video_smooth
Definition: configuration.h:87
bool config_save_overrides(int override_type)
Definition: configuration.c:4422
bool quick_menu_show_add_to_favorites
Definition: configuration.h:186
bool cheevos_test_unofficial
Definition: configuration.h:227
Definition: configuration.h:67
unsigned audio_latency
Definition: configuration.h:352
bool quick_menu_show_shaders
Definition: configuration.h:193
bool menu_navigation_browser_filter_supported_extensions_enable
Definition: configuration.h:146
bool audio_wasapi_float_format
Definition: configuration.h:116
unsigned menu_ozone_color_theme
Definition: configuration.h:420
bool check_firmware_before_loading
Definition: configuration.h:278
bool modified
Definition: configuration.h:568
bool config_unload_override(void)
Definition: configuration.c:3429
unsigned video_viwidth
Definition: configuration.h:390
bool menu_content_show_playlists
Definition: configuration.h:179
bool video_windowed_fullscreen
Definition: configuration.h:81
bool input_overlay_enable_autopreferred
Definition: configuration.h:122
unsigned input_device[MAX_USERS]
Definition: configuration.h:432
bool placeholder
Definition: configuration.h:77
bool menu_linear_filter
Definition: configuration.h:150
unsigned audio_block_frames
Definition: configuration.h:351
char network_buildbot_assets_url[255]
Definition: configuration.h:518
bool netplay_public_announce
Definition: configuration.h:205
bool kiosk_mode_enable
Definition: configuration.h:200
Definition: location_driver.h:41
bool menu_mouse_enable
Definition: configuration.h:143
char playlist_cores[PATH_MAX_LENGTH]
Definition: configuration.h:493
bool video_statistics_show
Definition: configuration.h:104
const char * config_get_default_midi(void)
Definition: configuration.c:1091
char path_content_favorites[PATH_MAX_LENGTH]
Definition: configuration.h:535
unsigned audio_out_rate
Definition: configuration.h:350
unsigned input_bind_hold
Definition: configuration.h:360
unsigned video_msg_bgcolor_red
Definition: configuration.h:393
bool bundle_assets_extract_enable
Definition: configuration.h:249
char path_content_video_history[PATH_MAX_LENGTH]
Definition: configuration.h:538
Definition: configuration.h:60
char bundle_assets_dst[PATH_MAX_LENGTH]
Definition: configuration.h:495
bool run_ahead_hide_warnings
Definition: configuration.h:265
bool apply_cheats_after_load
Definition: configuration.h:262
const char * config_get_default_video(void)
Definition: configuration.c:760
bool video_force_srgb_disable
Definition: configuration.h:102
unsigned midi_volume
Definition: configuration.h:447
unsigned keymapper_port
Definition: configuration.h:379
unsigned video_stream_scale_factor
Definition: configuration.h:400
bool quick_menu_show_start_recording
Definition: configuration.h:187
bool video_vfilter
Definition: configuration.h:86
bool rewind_enable
Definition: configuration.h:259
#define MAX_LEDS
Definition: led_defines.h:18
float menu_wallpaper_opacity
Definition: configuration.h:320
bool quick_menu_show_information
Definition: configuration.h:197
bool apply_cheats_after_toggle
Definition: configuration.h:261
unsigned menu_left_thumbnails
Definition: configuration.h:404
bool menu_rgui_border_filler_enable
Definition: configuration.h:168
char placeholder
Definition: configuration.h:468
bool menu_content_show_history
Definition: configuration.h:177
char discord_app_id[PATH_MAX_LENGTH]
Definition: configuration.h:506
bool input_descriptor_hide_unbound
Definition: configuration.h:126
bool video_post_filter_record
Definition: configuration.h:97
bool video_aspect_ratio_auto
Definition: configuration.h:90
bool menu_show_rewind
Definition: configuration.h:163
bool menu_show_load_content
Definition: configuration.h:155
bool ui_companion_start_on_boot
Definition: configuration.h:220
bool menu_rgui_background_filler_thickness_enable
Definition: configuration.h:166
bool config_init(void)
Definition: configuration.c:627
bool input_descriptor_label_show
Definition: configuration.h:125
bool video_window_save_positions
Definition: configuration.h:300
bool input_backtouch_toggle
Definition: configuration.h:130
bool config_replace(bool config_save_on_exit, char *path)
Definition: configuration.c:4739
bool config_save_autoconf_profile(const char *path, unsigned user)
Definition: configuration.c:4062
bool config_overlay_enable_default(void)
Definition: configuration.c:1113
bool video_vsync
Definition: configuration.h:82
Definition: configuration.h:65
bool menu_show_configurations
Definition: configuration.h:157
unsigned bundle_assets_extract_last_version
Definition: configuration.h:371
bool menu_dynamic_wallpaper_enable
Definition: configuration.h:141
bool quick_menu_show_recording
Definition: configuration.h:198
Definition: record_driver.h:111
int crt_switch_center_adjust
Definition: configuration.h:344
bool netplay_use_mitm_server
Definition: configuration.h:211
char path_libretro_info[PATH_MAX_LENGTH]
Definition: configuration.h:539
bool video_gpu_record
Definition: configuration.h:98
bool history_list_enable
Definition: configuration.h:256
bool netplay_nat_traversal
Definition: configuration.h:210
bool network_buildbot_auto_extract_archive
Definition: configuration.h:215
bool quick_menu_show_take_screenshot
Definition: configuration.h:183
float video_msg_bgcolor_opacity
Definition: configuration.h:318
bool menu_horizontal_animation
Definition: configuration.h:151
override_type
Definition: configuration.h:63
Definition: configuration.h:58
char directory_menu_content[PATH_MAX_LENGTH]
Definition: configuration.h:564
bool menu_dpi_override_enable
Definition: configuration.h:147
Definition: configuration.h:66
bool menu_content_show_images
Definition: configuration.h:173
unsigned menu_font_color_blue
Definition: configuration.h:423
unsigned video_stream_quality
Definition: configuration.h:398
unsigned menu_xmb_color_theme
Definition: configuration.h:418
bool menu_pause_libretro
Definition: configuration.h:137
float input_overlay_opacity
Definition: configuration.h:329
bool menu_content_show_favorites
Definition: configuration.h:172
float video_aspect_ratio
Definition: configuration.h:309
char directory_content_favorites[PATH_MAX_LENGTH]
Definition: configuration.h:549
float video_msg_pos_y
Definition: configuration.h:314
bool screenshots_in_content_dir
Definition: configuration.h:292
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
bool menu_use_preferred_system_color_theme
Definition: configuration.h:180
unsigned window_position_height
Definition: configuration.h:453
int location_update_interval_distance
Definition: configuration.h:341
char directory_system[PATH_MAX_LENGTH]
Definition: configuration.h:556
float video_msg_pos_x
Definition: configuration.h:313
Definition: midi_driver.h:33
bool menu_content_show_music
Definition: configuration.h:174
bool network_remote_enable_user[MAX_USERS]
Definition: configuration.h:276
const char * config_get_default_menu(void)
Definition: configuration.c:1059
void config_free(void)
Definition: configuration.c:621
char bundle_assets_dst_subdir[PATH_MAX_LENGTH]
Definition: configuration.h:496
unsigned placeholder
Definition: configuration.h:349
unsigned video_max_swapchain_images
Definition: configuration.h:386
bool systemfiles_in_content_dir
Definition: configuration.h:293
bool menu_show_advanced_settings
Definition: configuration.h:148
char path_stream_url[8192]
Definition: configuration.h:529
char netplay_mitm_server[255]
Definition: configuration.h:498
bool netplay_start_as_spectator
Definition: configuration.h:206
bool menu_core_enable
Definition: configuration.h:140
bool input_menu_swap_ok_cancel_buttons
Definition: configuration.h:128
unsigned streaming_mode
Definition: configuration.h:448
float menu_header_opacity
Definition: configuration.h:323
const char * config_get_default_audio(void)
Definition: configuration.c:643
Definition: video_driver.h:760
struct settings::@19 arrays
unsigned video_fullscreen_x
Definition: configuration.h:384
bool video_force_aspect
Definition: configuration.h:88
bool input_remap_binds_enable
Definition: configuration.h:119
bool auto_screenshot_filename
Definition: configuration.h:255
bool menu_preferred_system_color_theme_set
Definition: configuration.h:181
char directory_dynamic_wallpapers[PATH_MAX_LENGTH]
Definition: configuration.h:561
Definition: video_driver.h:686
unsigned autosave_interval
Definition: configuration.h:376
bool menu_content_show_add
Definition: configuration.h:178
unsigned video_hard_sync_frames
Definition: configuration.h:388
bool multimedia_builtin_mediaplayer_enable
Definition: configuration.h:244
bool video_adaptive_vsync
Definition: configuration.h:83
char audio_device[255]
Definition: configuration.h:489
unsigned menu_font_color_red
Definition: configuration.h:421
Definition: configuration.h:59
unsigned input_joypad_map[MAX_USERS]
Definition: configuration.h:431
bool config_load_shader_preset(void)
Definition: configuration.c:3619
bool block_sram_overwrite
Definition: configuration.h:267
unsigned input_remap_ids[MAX_USERS][RARCH_CUSTOM_BIND_LIST_END]
Definition: configuration.h:441
char path_audio_dsp_plugin[PATH_MAX_LENGTH]
Definition: configuration.h:531
struct settings::@17 uints
Definition: configuration.h:73
bool audio_sync
Definition: configuration.h:113
unsigned content_history_size
Definition: configuration.h:372
Definition: camera_driver.h:46
char directory_cache[PATH_MAX_LENGTH]
Definition: configuration.h:557
char directory_thumbnails[PATH_MAX_LENGTH]
Definition: configuration.h:562
bool savestate_auto_save
Definition: configuration.h:269
int location_update_interval_ms
Definition: configuration.h:340
float video_scale
Definition: configuration.h:308
bool cheevos_leaderboards_enable
Definition: configuration.h:229
char path_overlay[PATH_MAX_LENGTH]
Definition: configuration.h:526
unsigned menu_thumbnails
Definition: configuration.h:403
unsigned netplay_input_latency_frames_range
Definition: configuration.h:367
unsigned led_map[MAX_LEDS]
Definition: configuration.h:443
char path_content_music_history[PATH_MAX_LENGTH]
Definition: configuration.h:536
unsigned audio_resampler_quality
Definition: configuration.h:354
unsigned camera_height
Definition: configuration.h:426
bool quick_menu_show_undo_save_load_state
Definition: configuration.h:185
bool video_shader_watch_files
Definition: configuration.h:93
char path_softfilter_plugin[PATH_MAX_LENGTH]
Definition: configuration.h:532
unsigned video_record_quality
Definition: configuration.h:397
bool input_overlay_enable
Definition: configuration.h:121
const char * config_get_default_record(void)
Definition: configuration.c:712
int placeholder
Definition: configuration.h:338
#define MAX_USERS
Definition: input_defines.h:27
char directory_core_assets[PATH_MAX_LENGTH]
Definition: configuration.h:559
bool set_supports_no_game_enable
Definition: configuration.h:254
bool automatically_add_content_to_playlist
Definition: configuration.h:298
bool quick_menu_show_streaming
Definition: configuration.h:199
unsigned video_fullscreen_y
Definition: configuration.h:385
bool bundle_finished
Definition: configuration.h:248
bool quick_menu_show_reset_core_association
Definition: configuration.h:189
bool config_save_on_exit
Definition: configuration.h:287
const char * config_get_default_audio_resampler(void)
Definition: configuration.c:734
char directory_video_shader[PATH_MAX_LENGTH]
Definition: configuration.h:547
float video_msg_color_r
Definition: configuration.h:315
bool stdin_cmd_enable
Definition: configuration.h:273
char path_content_history[PATH_MAX_LENGTH]
Definition: configuration.h:534
bool menu_throttle_framerate
Definition: configuration.h:149
char path_menu_xmb_font[PATH_MAX_LENGTH]
Definition: configuration.h:521
unsigned video_swap_interval
Definition: configuration.h:387
char cheevos_password[32]
Definition: configuration.h:478
bool video_threaded
Definition: configuration.h:94
bool video_fullscreen
Definition: configuration.h:80
char directory_content_history[PATH_MAX_LENGTH]
Definition: configuration.h:548
bool keymapper_enable
Definition: configuration.h:274
unsigned libretro_log_level
Definition: configuration.h:373
bool video_shader_enable
Definition: configuration.h:92
bool menu_timedate_enable
Definition: configuration.h:138
char netplay_password[128]
Definition: configuration.h:514
float video_refresh_rate
Definition: configuration.h:310
bool desktop_menu_enable
Definition: configuration.h:223
bool video_msg_bgcolor_enable
Definition: configuration.h:107
unsigned video_msg_bgcolor_blue
Definition: configuration.h:395
bool menu_battery_level_enable
Definition: configuration.h:139
bool quick_menu_show_controls
Definition: configuration.h:191
Definition: configuration.h:68
bool pause_nonactive
Definition: configuration.h:266
bool audio_enable_menu
Definition: configuration.h:112
unsigned input_split_joycon[MAX_USERS]
Definition: configuration.h:430
bool menu_throttle
Definition: configuration.h:142
bool input_all_users_control_menu
Definition: configuration.h:127
unsigned menu_dpi_override_value
Definition: configuration.h:405
unsigned input_libretro_device[MAX_USERS]
Definition: configuration.h:436
video_viewport_t video_viewport_custom
Definition: configuration.h:570
char username[32]
Definition: configuration.h:513
unsigned video_record_scale_factor
Definition: configuration.h:399
bool menu_materialui_icons_enable
Definition: configuration.h:165
int audio_wasapi_sh_buffer_length
Definition: configuration.h:343
bool load_dummy_on_core_shutdown
Definition: configuration.h:277
bool netplay_request_devices[MAX_USERS]
Definition: configuration.h:212
char input_joypad_driver[32]
Definition: configuration.h:484
char directory_autoconfig[PATH_MAX_LENGTH]
Definition: configuration.h:545
bool config_load_override(void)
Definition: configuration.c:3231
float video_msg_color_b
Definition: configuration.h:317
const char * config_get_default_wifi(void)
Definition: configuration.c:1001
bool playlist_entry_rename
Definition: configuration.h:258
bool show_hidden_files
Definition: configuration.h:288
bool menu_show_latency
Definition: configuration.h:162
unsigned menu_entry_hover_color
Definition: configuration.h:407
unsigned menu_xmb_layout
Definition: configuration.h:413
char path_cheat_settings[PATH_MAX_LENGTH]
Definition: configuration.h:540
bool menu_show_core_updater
Definition: configuration.h:153
bool menu_show_start_screen
Definition: configuration.h:136
unsigned menu_xmb_shader_pipeline
Definition: configuration.h:414
float audio_max_timing_skew
Definition: configuration.h:325
bool vrr_runloop_enable
Definition: configuration.h:260
bool video_framecount_show
Definition: configuration.h:105
char input_keyboard_layout[64]
Definition: configuration.h:487
char path_font[PATH_MAX_LENGTH]
Definition: configuration.h:542
bool run_ahead_secondary_instance
Definition: configuration.h:264
Definition: input_defines.h:73
bool auto_overrides_enable
Definition: configuration.h:281
struct settings::@15 floats
unsigned bundle_assets_extract_version_current
Definition: configuration.h:370
unsigned video_window_opacity
Definition: configuration.h:380
unsigned menu_timedate_style
Definition: configuration.h:402
unsigned netplay_port
Definition: configuration.h:365
char netplay_spectate_password[128]
Definition: configuration.h:515
char cheevos_token[32]
Definition: configuration.h:479
bool wifi_allow
Definition: configuration.h:238