Settings: Move set defaults to HostInterface so it can use user paths

This commit is contained in:
Connor McLaughlin
2020-01-24 14:52:04 +10:00
parent b5e73a0be4
commit faf2308695
5 changed files with 40 additions and 38 deletions

View File

@ -4,38 +4,6 @@
Settings::Settings() = default;
void Settings::SetDefaults()
{
region = ConsoleRegion::Auto;
cpu_execution_mode = CPUExecutionMode::Interpreter;
speed_limiter_enabled = true;
start_paused = false;
gpu_renderer = GPURenderer::HardwareOpenGL;
gpu_resolution_scale = 1;
gpu_true_color = true;
gpu_texture_filtering = false;
gpu_force_progressive_scan = true;
gpu_use_debug_device = false;
display_linear_filtering = true;
display_fullscreen = false;
video_sync_enabled = true;
audio_backend = AudioBackend::Default;
audio_sync_enabled = true;
bios_path = "scph1001.bin";
bios_patch_tty_enable = false;
bios_patch_fast_boot = false;
controller_types[0] = ControllerType::DigitalController;
controller_types[1] = ControllerType::None;
memory_card_paths[0] = "memory_card_1.mcd";
memory_card_paths[1].clear();
}
void Settings::Load(SettingsInterface& si)
{
region =