Config: Port BluetoothPassthrough settings to new config system.

This commit is contained in:
Admiral H. Curtiss
2021-12-29 17:20:32 +01:00
parent 5c6dc5002f
commit 526887899e
13 changed files with 39 additions and 50 deletions

View File

@ -486,7 +486,7 @@ static void EmuThread(std::unique_ptr<BootParameters> boot, WindowSystemInfo wsi
// Load and Init Wiimotes - only if we are booting in Wii mode
bool init_wiimotes = false;
if (core_parameter.bWii && !SConfig::GetInstance().m_bt_passthrough_enabled)
if (core_parameter.bWii && !Config::Get(Config::MAIN_BLUETOOTH_PASSTHROUGH_ENABLED))
{
if (init_controllers)
{