From bbb1befa43be83eec7b63107824ec16ac9f289bb Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 14 Jan 2025 20:44:33 +1000 Subject: [PATCH] RegTest: Build fix --- src/duckstation-regtest/regtest_host.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));