diff --git a/src/duckstation-regtest/regtest_host.cpp b/src/duckstation-regtest/regtest_host.cpp index fabd46cdb..bcb3aee90 100644 --- a/src/duckstation-regtest/regtest_host.cpp +++ b/src/duckstation-regtest/regtest_host.cpp @@ -110,8 +110,8 @@ bool RegTestHost::InitializeConfig() g_settings.Save(si, false); si.SetStringValue("GPU", "Renderer", Settings::GetRendererName(GPURenderer::Software)); si.SetBoolValue("GPU", "DisableShaderCache", true); - si.SetStringValue("Pad1", "Type", Controller::GetControllerInfo(ControllerType::AnalogController)->name); - si.SetStringValue("Pad2", "Type", Controller::GetControllerInfo(ControllerType::None)->name); + si.SetStringValue("Pad1", "Type", Controller::GetControllerInfo(ControllerType::AnalogController).name); + si.SetStringValue("Pad2", "Type", Controller::GetControllerInfo(ControllerType::None).name); si.SetStringValue("MemoryCards", "Card1Type", Settings::GetMemoryCardTypeName(MemoryCardType::NonPersistent)); si.SetStringValue("MemoryCards", "Card2Type", Settings::GetMemoryCardTypeName(MemoryCardType::None)); si.SetStringValue("ControllerPorts", "MultitapMode", Settings::GetMultitapModeName(MultitapMode::Disabled));