| 117 | } |
| 118 | |
| 119 | void 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 | |
| 147 | void Config::Serialize() { |
| 148 | // TODO: check if changed? |
nothing calls this directly
no outgoing calls
no test coverage detected