Core/BootManager: Disable bluetooth passthrough when booting NetPlay
Bluetooth passthrough does not and never will work on NetPlay, so we'll just force the use of emulated bluetooth when booting in NetPlay.
This commit is contained in:
parent
3fa81f39fb
commit
cf8b730c61
|
@ -92,6 +92,7 @@ private:
|
||||||
float m_EmulationSpeed;
|
float m_EmulationSpeed;
|
||||||
float m_OCFactor;
|
float m_OCFactor;
|
||||||
bool m_OCEnable;
|
bool m_OCEnable;
|
||||||
|
bool m_bt_passthrough_enabled;
|
||||||
std::string strBackend;
|
std::string strBackend;
|
||||||
std::string sBackend;
|
std::string sBackend;
|
||||||
std::string m_strGPUDeterminismMode;
|
std::string m_strGPUDeterminismMode;
|
||||||
|
@ -128,6 +129,7 @@ void ConfigCache::SaveConfig(const SConfig& config)
|
||||||
m_strGPUDeterminismMode = config.m_strGPUDeterminismMode;
|
m_strGPUDeterminismMode = config.m_strGPUDeterminismMode;
|
||||||
m_OCFactor = config.m_OCFactor;
|
m_OCFactor = config.m_OCFactor;
|
||||||
m_OCEnable = config.m_OCEnable;
|
m_OCEnable = config.m_OCEnable;
|
||||||
|
m_bt_passthrough_enabled = config.m_bt_passthrough_enabled;
|
||||||
|
|
||||||
std::copy(std::begin(g_wiimote_sources), std::end(g_wiimote_sources), std::begin(iWiimoteSource));
|
std::copy(std::begin(g_wiimote_sources), std::end(g_wiimote_sources), std::begin(iWiimoteSource));
|
||||||
std::copy(std::begin(config.m_SIDevice), std::end(config.m_SIDevice), std::begin(Pads));
|
std::copy(std::begin(config.m_SIDevice), std::end(config.m_SIDevice), std::begin(Pads));
|
||||||
|
@ -203,6 +205,7 @@ void ConfigCache::RestoreConfig(SConfig* config)
|
||||||
config->m_strGPUDeterminismMode = m_strGPUDeterminismMode;
|
config->m_strGPUDeterminismMode = m_strGPUDeterminismMode;
|
||||||
config->m_OCFactor = m_OCFactor;
|
config->m_OCFactor = m_OCFactor;
|
||||||
config->m_OCEnable = m_OCEnable;
|
config->m_OCEnable = m_OCEnable;
|
||||||
|
config->m_bt_passthrough_enabled = m_bt_passthrough_enabled;
|
||||||
VideoBackendBase::ActivateBackend(config->m_strVideoBackend);
|
VideoBackendBase::ActivateBackend(config->m_strVideoBackend);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -372,6 +375,7 @@ bool BootCore(std::unique_ptr<BootParameters> boot, const WindowSystemInfo& wsi)
|
||||||
StartUp.bMMU = netplay_settings.m_MMU;
|
StartUp.bMMU = netplay_settings.m_MMU;
|
||||||
StartUp.bFastmem = netplay_settings.m_Fastmem;
|
StartUp.bFastmem = netplay_settings.m_Fastmem;
|
||||||
StartUp.bHLE_BS2 = netplay_settings.m_SkipIPL;
|
StartUp.bHLE_BS2 = netplay_settings.m_SkipIPL;
|
||||||
|
StartUp.m_bt_passthrough_enabled = false;
|
||||||
if (netplay_settings.m_HostInputAuthority && !netplay_settings.m_IsHosting)
|
if (netplay_settings.m_HostInputAuthority && !netplay_settings.m_IsHosting)
|
||||||
config_cache.bSetEmulationSpeed = true;
|
config_cache.bSetEmulationSpeed = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue