RetroArch
Macros | Variables
config.def.h File Reference
#include <boolean.h>
#include <audio/audio_resampler.h>
#include "configuration.h"
#include "gfx/video_defines.h"
#include "input/input_driver.h"
Include dependency graph for config.def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_GAMMA_SETTING   1
 
#define DEFAULT_ASPECT_RATIO   -1.0f
 
#define DEFAULT_GAMMA   0
 
#define RARCH_DEFAULT_PORT   55435
 
#define RARCH_STREAM_DEFAULT_PORT   56400
 

Variables

static const bool pointer_enable = false
 
static bool bundle_assets_extract_enable = false
 
static const unsigned crt_switch_resolution = CRT_SWITCH_NONE
 
static const int crt_switch_resolution_super = 2560
 
static const int crt_switch_center_adjust = 0
 
static const bool def_history_list_enable = true
 
static const bool def_playlist_entry_remove = true
 
static const bool def_playlist_entry_rename = true
 
static const unsigned int def_user_language = 0
 
static const bool def_mouse_enable = false
 
static const float scale = 3.0
 
static const bool fullscreen = false
 
static const bool windowed_fullscreen = true
 
static const unsigned monitor_index = 0
 
static const unsigned window_width = 1280
 
static const unsigned window_height = 720
 
static const unsigned fullscreen_x = 0
 
static const unsigned fullscreen_y = 0
 
static const unsigned video_record_threads = 2
 
static const unsigned window_opacity = 100
 
static const bool window_decorations = true
 
static const bool load_dummy_on_core_shutdown = true
 
static const bool check_firmware_before_loading = false
 
static const bool disable_composition = false
 
static const bool vsync = true
 
static const unsigned max_swapchain_images = 3
 
static const bool adaptive_vsync = false
 
static const bool hard_sync = false
 
static const unsigned hard_sync_frames = 0
 
static const unsigned frame_delay = 0
 
static bool black_frame_insertion = false
 
static unsigned swap_interval = 1
 
static const bool video_threaded = false
 
static const bool threaded_data_runloop_enable = false
 
static const bool video_shared_context = false
 
static const unsigned video_viwidth = 640
 
static const bool video_smooth = true
 
static const bool force_aspect = true
 
static const bool shader_enable = false
 
static const bool scale_integer = false
 
static const float aspect_ratio = DEFAULT_ASPECT_RATIO
 
static const bool aspect_ratio_auto = false
 
static unsigned aspect_ratio_idx = ASPECT_RATIO_CORE
 
static bool config_save_on_exit = true
 
static bool show_hidden_files = false
 
static const bool overlay_hide_in_menu = true
 
static const bool display_keyboard_overlay = false
 
static const float default_input_overlay_opacity = 0.7f
 
static bool default_block_config_read = false
 
static bool automatically_add_content_to_playlist = false
 
static bool default_game_specific_options = true
 
static bool default_auto_overrides_enable = true
 
static bool default_auto_remaps_enable = true
 
static bool default_auto_shaders_enable = true
 
static bool default_sort_savefiles_enable = false
 
static bool default_sort_savestates_enable = false
 
static bool default_savestates_in_content_dir = false
 
static bool default_savefiles_in_content_dir = false
 
static bool default_systemfiles_in_content_dir = false
 
static bool default_screenshots_in_content_dir = false
 
static unsigned menu_toggle_gamepad_combo = INPUT_TOGGLE_NONE
 
static bool show_physical_inputs = true
 
static bool all_users_control_menu = false
 
static bool menu_swap_ok_cancel_buttons = false
 
static const bool crop_overscan = true
 
static const float font_size = 32
 
static const float message_pos_offset_x = 0.05
 
static const float message_pos_offset_y = 0.05
 
static const uint32_t message_color = 0xffff00
 
static const bool message_bgcolor_enable = false
 
static const uint32_t message_bgcolor_red = 0
 
static const uint32_t message_bgcolor_green = 0
 
static const uint32_t message_bgcolor_blue = 0
 
static const float message_bgcolor_opacity = 1.0f
 
static const bool post_filter_record = false
 
static const bool gpu_screenshot = true
 
static const bool video_shader_watch_files = false
 
static const bool auto_screenshot_filename = true
 
static const bool gpu_record = false
 
static const bool font_enable = true
 
static const float refresh_rate = 60/1.001
 
static const float crt_refresh_rate = 60/1.001
 
static const bool allow_rotate = true
 
static const bool audio_enable = true
 
static const unsigned out_rate = 48000
 
static const char * audio_device = NULL
 
static const int out_latency = 64
 
static const bool audio_sync = true
 
static const bool rate_control = true
 
static const float rate_control_delta = 0.005
 
static const float max_timing_skew = 0.05
 
static const float audio_volume = 0.0
 
static const float audio_mixer_volume = 0.0
 
static const bool fps_show = false
 
static const bool framecount_show = false
 
static const bool memory_show = false
 
static const bool rewind_enable = false
 
static const bool apply_cheats_after_toggle = false
 
static const bool apply_cheats_after_load = false
 
static const unsigned rewind_buffer_size = 20 << 20
 
static const unsigned rewind_buffer_size_step = 10
 
static const unsigned rewind_granularity = 1
 
static const bool pause_nonactive = true
 
static const unsigned autosave_interval = 0
 
static const bool netplay_public_announce = true
 
static const bool netplay_start_as_spectator = false
 
static const bool netplay_allow_slaves = true
 
static const bool netplay_require_slaves = false
 
static const bool netplay_stateless_mode = false
 
static const bool netplay_client_swap_input = true
 
static const bool netplay_nat_traversal = false
 
static const unsigned netplay_delay_frames = 16
 
static const int netplay_check_frames = 600
 
static const bool netplay_use_mitm_server = false
 
static const char * netplay_mitm_server = "nyc"
 
static const bool block_sram_overwrite = false
 
static const bool savestate_auto_index = false
 
static const bool savestate_auto_save = false
 
static const bool savestate_auto_load = false
 
static const bool savestate_thumbnail_enable = false
 
static const float slowmotion_ratio = 3.0
 
static const float fastforward_ratio = 0.0
 
static const bool vrr_runloop_enable = false
 
static const unsigned run_ahead_frames = 1
 
static const bool run_ahead_secondary_instance = true
 
static const bool run_ahead_hide_warnings = false
 
static const bool network_cmd_enable = false
 
static const uint16_t network_cmd_port = 55355
 
static const bool stdin_cmd_enable = false
 
static const uint16_t network_remote_base_port = 55400
 
static const unsigned default_content_history_size = 100
 
static const bool default_menu_show_start_screen = true
 
static const bool menu_dpi_override_enable = false
 
static const unsigned menu_dpi_override_value = 200
 
static const unsigned libretro_log_level = 1
 
static const float axis_threshold = 0.5
 
static const unsigned turbo_period = 6
 
static const unsigned turbo_duty_cycle = 3
 
static const bool input_autodetect_enable = true
 
static const bool input_descriptor_label_show = true
 
static const bool input_descriptor_hide_unbound = false
 
static const unsigned input_max_users = 5
 
static const unsigned input_poll_type_behavior = 2
 
static const unsigned input_bind_timeout = 5
 
static const unsigned input_bind_hold = 2
 
static const unsigned menu_thumbnails_default = 3
 
static const unsigned menu_left_thumbnails_default = 0
 
static const unsigned menu_timedate_style = 5
 
static const bool xmb_vertical_thumbnails = false
 
static const bool ui_companion_start_on_boot = true
 
static const bool ui_companion_enable = false
 
static const bool ui_companion_toggle = false
 
static const bool desktop_menu_enable = true
 
static enum resampler_quality audio_resampler_quality_level = RESAMPLER_QUALITY_NORMAL
 
static const char * midi_input = "Off"
 
static const char * midi_output = "Off"
 
static const unsigned midi_volume = 100
 
static const bool sustained_performance_mode = false
 
static char buildbot_server_url [] = ""
 
static char buildbot_assets_server_url [] = "http://buildbot.libretro.com/assets/"
 
static char default_discord_app_id [] = "475456035851599874"
 

Macro Definition Documentation

◆ DEFAULT_ASPECT_RATIO

#define DEFAULT_ASPECT_RATIO   -1.0f

◆ DEFAULT_GAMMA

#define DEFAULT_GAMMA   0

◆ MAX_GAMMA_SETTING

#define MAX_GAMMA_SETTING   1

◆ RARCH_DEFAULT_PORT

#define RARCH_DEFAULT_PORT   55435

◆ RARCH_STREAM_DEFAULT_PORT

#define RARCH_STREAM_DEFAULT_PORT   56400

Variable Documentation

◆ adaptive_vsync

const bool adaptive_vsync = false
static

◆ all_users_control_menu

bool all_users_control_menu = false
static

◆ allow_rotate

const bool allow_rotate = true
static

◆ apply_cheats_after_load

const bool apply_cheats_after_load = false
static

◆ apply_cheats_after_toggle

const bool apply_cheats_after_toggle = false
static

◆ aspect_ratio

◆ aspect_ratio_auto

const bool aspect_ratio_auto = false
static

◆ aspect_ratio_idx

unsigned aspect_ratio_idx = ASPECT_RATIO_CORE
static

◆ audio_device

const char* audio_device = NULL
static

◆ audio_enable

const bool audio_enable = true
static

◆ audio_mixer_volume

const float audio_mixer_volume = 0.0
static

◆ audio_resampler_quality_level

enum resampler_quality audio_resampler_quality_level = RESAMPLER_QUALITY_NORMAL
static

◆ audio_sync

const bool audio_sync = true
static

◆ audio_volume

const float audio_volume = 0.0
static

◆ auto_screenshot_filename

const bool auto_screenshot_filename = true
static

◆ automatically_add_content_to_playlist

bool automatically_add_content_to_playlist = false
static

◆ autosave_interval

const unsigned autosave_interval = 0
static

◆ axis_threshold

const float axis_threshold = 0.5
static

◆ black_frame_insertion

bool black_frame_insertion = false
static

◆ block_sram_overwrite

const bool block_sram_overwrite = false
static

◆ buildbot_assets_server_url

char buildbot_assets_server_url[] = "http://buildbot.libretro.com/assets/"
static

◆ buildbot_server_url

char buildbot_server_url[] = ""
static

◆ bundle_assets_extract_enable

bool bundle_assets_extract_enable = false
static

◆ check_firmware_before_loading

const bool check_firmware_before_loading = false
static

◆ config_save_on_exit

bool config_save_on_exit = true
static

◆ crop_overscan

const bool crop_overscan = true
static

◆ crt_refresh_rate

const float crt_refresh_rate = 60/1.001
static

◆ crt_switch_center_adjust

const int crt_switch_center_adjust = 0
static

◆ crt_switch_resolution

const unsigned crt_switch_resolution = CRT_SWITCH_NONE
static

◆ crt_switch_resolution_super

const int crt_switch_resolution_super = 2560
static

◆ def_history_list_enable

const bool def_history_list_enable = true
static

◆ def_mouse_enable

const bool def_mouse_enable = false
static

◆ def_playlist_entry_remove

const bool def_playlist_entry_remove = true
static

◆ def_playlist_entry_rename

const bool def_playlist_entry_rename = true
static

◆ def_user_language

const unsigned int def_user_language = 0
static

◆ default_auto_overrides_enable

bool default_auto_overrides_enable = true
static

◆ default_auto_remaps_enable

bool default_auto_remaps_enable = true
static

◆ default_auto_shaders_enable

bool default_auto_shaders_enable = true
static

◆ default_block_config_read

bool default_block_config_read = false
static

◆ default_content_history_size

const unsigned default_content_history_size = 100
static

◆ default_discord_app_id

char default_discord_app_id[] = "475456035851599874"
static

◆ default_game_specific_options

bool default_game_specific_options = true
static

◆ default_input_overlay_opacity

const float default_input_overlay_opacity = 0.7f
static

◆ default_menu_show_start_screen

const bool default_menu_show_start_screen = true
static

◆ default_savefiles_in_content_dir

bool default_savefiles_in_content_dir = false
static

◆ default_savestates_in_content_dir

bool default_savestates_in_content_dir = false
static

◆ default_screenshots_in_content_dir

bool default_screenshots_in_content_dir = false
static

◆ default_sort_savefiles_enable

bool default_sort_savefiles_enable = false
static

◆ default_sort_savestates_enable

bool default_sort_savestates_enable = false
static

◆ default_systemfiles_in_content_dir

bool default_systemfiles_in_content_dir = false
static

◆ desktop_menu_enable

const bool desktop_menu_enable = true
static

◆ disable_composition

const bool disable_composition = false
static

◆ display_keyboard_overlay

const bool display_keyboard_overlay = false
static

◆ fastforward_ratio

const float fastforward_ratio = 0.0
static

◆ font_enable

const bool font_enable = true
static

◆ font_size

const float font_size = 32
static

◆ force_aspect

const bool force_aspect = true
static

◆ fps_show

const bool fps_show = false
static

◆ frame_delay

const unsigned frame_delay = 0
static

◆ framecount_show

const bool framecount_show = false
static

◆ fullscreen

const bool fullscreen = false
static

◆ fullscreen_x

const unsigned fullscreen_x = 0
static

◆ fullscreen_y

const unsigned fullscreen_y = 0
static

◆ gpu_record

const bool gpu_record = false
static

◆ gpu_screenshot

const bool gpu_screenshot = true
static

◆ hard_sync

const bool hard_sync = false
static

◆ hard_sync_frames

const unsigned hard_sync_frames = 0
static

◆ input_autodetect_enable

const bool input_autodetect_enable = true
static

◆ input_bind_hold

const unsigned input_bind_hold = 2
static

◆ input_bind_timeout

const unsigned input_bind_timeout = 5
static

◆ input_descriptor_hide_unbound

const bool input_descriptor_hide_unbound = false
static

◆ input_descriptor_label_show

const bool input_descriptor_label_show = true
static

◆ input_max_users

const unsigned input_max_users = 5
static

◆ input_poll_type_behavior

const unsigned input_poll_type_behavior = 2
static

◆ libretro_log_level

const unsigned libretro_log_level = 1
static

◆ load_dummy_on_core_shutdown

const bool load_dummy_on_core_shutdown = true
static

◆ max_swapchain_images

const unsigned max_swapchain_images = 3
static

◆ max_timing_skew

const float max_timing_skew = 0.05
static

◆ memory_show

const bool memory_show = false
static

◆ menu_dpi_override_enable

const bool menu_dpi_override_enable = false
static

◆ menu_dpi_override_value

const unsigned menu_dpi_override_value = 200
static

◆ menu_left_thumbnails_default

const unsigned menu_left_thumbnails_default = 0
static

◆ menu_swap_ok_cancel_buttons

bool menu_swap_ok_cancel_buttons = false
static

◆ menu_thumbnails_default

const unsigned menu_thumbnails_default = 3
static

◆ menu_timedate_style

const unsigned menu_timedate_style = 5
static

◆ menu_toggle_gamepad_combo

unsigned menu_toggle_gamepad_combo = INPUT_TOGGLE_NONE
static

◆ message_bgcolor_blue

const uint32_t message_bgcolor_blue = 0
static

◆ message_bgcolor_enable

const bool message_bgcolor_enable = false
static

◆ message_bgcolor_green

const uint32_t message_bgcolor_green = 0
static

◆ message_bgcolor_opacity

const float message_bgcolor_opacity = 1.0f
static

◆ message_bgcolor_red

const uint32_t message_bgcolor_red = 0
static

◆ message_color

const uint32_t message_color = 0xffff00
static

◆ message_pos_offset_x

const float message_pos_offset_x = 0.05
static

◆ message_pos_offset_y

const float message_pos_offset_y = 0.05
static

◆ midi_input

const char* midi_input = "Off"
static

◆ midi_output

const char* midi_output = "Off"
static

◆ midi_volume

const unsigned midi_volume = 100
static

◆ monitor_index

const unsigned monitor_index = 0
static

◆ netplay_allow_slaves

const bool netplay_allow_slaves = true
static

◆ netplay_check_frames

const int netplay_check_frames = 600
static

◆ netplay_client_swap_input

const bool netplay_client_swap_input = true
static

◆ netplay_delay_frames

const unsigned netplay_delay_frames = 16
static

◆ netplay_mitm_server

const char* netplay_mitm_server = "nyc"
static

◆ netplay_nat_traversal

const bool netplay_nat_traversal = false
static

◆ netplay_public_announce

const bool netplay_public_announce = true
static

◆ netplay_require_slaves

const bool netplay_require_slaves = false
static

◆ netplay_start_as_spectator

const bool netplay_start_as_spectator = false
static

◆ netplay_stateless_mode

const bool netplay_stateless_mode = false
static

◆ netplay_use_mitm_server

const bool netplay_use_mitm_server = false
static

◆ network_cmd_enable

const bool network_cmd_enable = false
static

◆ network_cmd_port

const uint16_t network_cmd_port = 55355
static

◆ network_remote_base_port

const uint16_t network_remote_base_port = 55400
static

◆ out_latency

const int out_latency = 64
static

◆ out_rate

const unsigned out_rate = 48000
static

◆ overlay_hide_in_menu

const bool overlay_hide_in_menu = true
static

◆ pause_nonactive

const bool pause_nonactive = true
static

◆ pointer_enable

const bool pointer_enable = false
static

◆ post_filter_record

const bool post_filter_record = false
static

◆ rate_control

const bool rate_control = true
static

◆ rate_control_delta

const float rate_control_delta = 0.005
static

◆ refresh_rate

const float refresh_rate = 60/1.001
static

◆ rewind_buffer_size

const unsigned rewind_buffer_size = 20 << 20
static

◆ rewind_buffer_size_step

const unsigned rewind_buffer_size_step = 10
static

◆ rewind_enable

const bool rewind_enable = false
static

◆ rewind_granularity

const unsigned rewind_granularity = 1
static

◆ run_ahead_frames

const unsigned run_ahead_frames = 1
static

◆ run_ahead_hide_warnings

const bool run_ahead_hide_warnings = false
static

◆ run_ahead_secondary_instance

const bool run_ahead_secondary_instance = true
static

◆ savestate_auto_index

const bool savestate_auto_index = false
static

◆ savestate_auto_load

const bool savestate_auto_load = false
static

◆ savestate_auto_save

const bool savestate_auto_save = false
static

◆ savestate_thumbnail_enable

const bool savestate_thumbnail_enable = false
static

◆ scale

const float scale = 3.0
static

◆ scale_integer

const bool scale_integer = false
static

◆ shader_enable

const bool shader_enable = false
static

◆ show_hidden_files

bool show_hidden_files = false
static

◆ show_physical_inputs

bool show_physical_inputs = true
static

◆ slowmotion_ratio

const float slowmotion_ratio = 3.0
static

◆ stdin_cmd_enable

const bool stdin_cmd_enable = false
static

◆ sustained_performance_mode

const bool sustained_performance_mode = false
static

◆ swap_interval

unsigned swap_interval = 1
static

◆ threaded_data_runloop_enable

const bool threaded_data_runloop_enable = false
static

◆ turbo_duty_cycle

const unsigned turbo_duty_cycle = 3
static

◆ turbo_period

const unsigned turbo_period = 6
static

◆ ui_companion_enable

const bool ui_companion_enable = false
static

◆ ui_companion_start_on_boot

const bool ui_companion_start_on_boot = true
static

◆ ui_companion_toggle

const bool ui_companion_toggle = false
static

◆ video_record_threads

const unsigned video_record_threads = 2
static

◆ video_shader_watch_files

const bool video_shader_watch_files = false
static

◆ video_shared_context

const bool video_shared_context = false
static

◆ video_smooth

const bool video_smooth = true
static

◆ video_threaded

const bool video_threaded = false
static

◆ video_viwidth

const unsigned video_viwidth = 640
static

◆ vrr_runloop_enable

const bool vrr_runloop_enable = false
static

◆ vsync

const bool vsync = true
static

◆ window_decorations

const bool window_decorations = true
static

◆ window_height

const unsigned window_height = 720
static

◆ window_opacity

const unsigned window_opacity = 100
static

◆ window_width

const unsigned window_width = 1280
static

◆ windowed_fullscreen

const bool windowed_fullscreen = true
static

◆ xmb_vertical_thumbnails

const bool xmb_vertical_thumbnails = false
static