Config: Port remaining Interface settings to new config system.

This commit is contained in:
Admiral H. Curtiss
2021-12-31 03:00:39 +01:00
parent df0870f79d
commit d6331c1e71
30 changed files with 135 additions and 162 deletions

View File

@ -254,7 +254,7 @@ void HotkeyScheduler::Run()
if (auto bt = WiiUtils::GetBluetoothRealDevice())
bt->UpdateSyncButtonState(IsHotkey(HK_TRIGGER_SYNC_BUTTON, true));
if (SConfig::GetInstance().bEnableDebugging)
if (Config::Get(Config::MAIN_ENABLE_DEBUGGING))
{
CheckDebuggingHotkeys();
}