MCPcopy Create free account
hub / github.com/SamoZ256/hydra / LoadDefaults

Method LoadDefaults

src/common/config.cpp:119–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void Config::LoadDefaults() {
120 game_paths = GetDefaultGamePaths();
121 loader_plugins = GetDefaultLoaderPlugins();
122 patch_paths = GetDefaultPatchPaths();
123 input_backend = GetDefaultInputBackend();
124 input_profiles = GetDefaultInputProfiles();
125 cpu_backend = GetDefaultCpuBackend();
126 gpu_renderer = GetDefaultGpuRenderer();
127 shader_backend = GetDefaultShaderBackend();
128 display_resolution = GetDefaultDisplayResolution();
129 custom_display_resolution = GetDefaultCustomDisplayResolution();
130 audio_backend = GetDefaultAudioBackend();
131 user_id = GetDefaultUserID();
132 firmware_path = GetDefaultFirmwarePath();
133 sd_card_path = GetDefaultSdCardPath();
134 save_path = GetDefaultSavePath();
135 sysmodules_path = GetDefaultSysmodulesPath();
136 handheld_mode = GetDefaultHandheldMode();
137 log_output = GetDefaultLogOutput();
138 log_fs_access = GetDefaultLogFsAccess();
139 debug_logging = GetDefaultDebugLogging();
140 process_args = GetDefaultProcessArgs();
141 recover_from_segfault = GetDefaultRecoverFromSegfault();
142 gdb_enabled = GetDefaultGdbEnabled();
143 gdb_port = GetDefaultGdbPort();
144 gdb_wait_for_client = GetDefaultGdbWaitForClient();
145}
146
147void Config::Serialize() {
148 // TODO: check if changed?

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected