From d8afa5bdcef9807e5d343cadefa4a341a823baa5 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 21 Apr 2026 21:48:50 +1000 Subject: [PATCH] Host: Remove unused LoadSettings() callback Was empty and unnecessary. --- src/core/system.cpp | 1 - src/core/system_private.h | 3 --- src/duckstation-qt/qthost.cpp | 4 ---- src/duckstation-regtest/regtest_host.cpp | 4 ---- 4 files changed, 12 deletions(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index adde23c29..794615dfb 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -1319,7 +1319,6 @@ void System::LoadSettings(bool display_osd_messages) g_settings.ApplySettingRestrictions(); Settings::UpdateLogConfig(si); - Host::LoadSettings(si, lock); InputManager::ReloadSourcesAndBindings(GetInputSourceSettingsLayer(lock), controller_si, GetHotkeySettingsLayer(lock), lock); diff --git a/src/core/system_private.h b/src/core/system_private.h index 320026cc5..54275394b 100644 --- a/src/core/system_private.h +++ b/src/core/system_private.h @@ -90,9 +90,6 @@ void IdlePollUpdate(); namespace Host { -/// Called with the settings lock held, when system settings are being loaded (should load input sources, etc). -void LoadSettings(const SettingsInterface& si, std::unique_lock& lock); - /// Called after settings are updated. void OnSettingsReloaded(); diff --git a/src/duckstation-qt/qthost.cpp b/src/duckstation-qt/qthost.cpp index 8a2eb018f..a1e6211c2 100644 --- a/src/duckstation-qt/qthost.cpp +++ b/src/duckstation-qt/qthost.cpp @@ -861,10 +861,6 @@ bool QtHost::LoadResources(Error* error) return true; } -void Host::LoadSettings(const SettingsInterface& si, std::unique_lock& lock) -{ -} - void Host::OnSettingsReloaded() { emit g_core_thread->settingsReloaded(); diff --git a/src/duckstation-regtest/regtest_host.cpp b/src/duckstation-regtest/regtest_host.cpp index 89ec8881a..e651a005e 100644 --- a/src/duckstation-regtest/regtest_host.cpp +++ b/src/duckstation-regtest/regtest_host.cpp @@ -201,10 +201,6 @@ SmallString Host::TranslatePluralToSmallString(const char* context, const char* return ret; } -void Host::LoadSettings(const SettingsInterface& si, std::unique_lock& lock) -{ -} - void Host::OnSettingsReloaded() { }