Config: Port BluetoothPassthrough settings to new config system.

This commit is contained in:
Admiral H. Curtiss committed 2021-12-30 23:17:19 +01:00
1 parent 5c6dc5002f
commit 526887899e
13 files changed
+39 -50

No files matched your search

@@ -27,7 +27,8 @@ bool IsSettingSaveable(const Config::Location& config_location)
{
for (const std::string_view section :
{"NetPlay", "General", "GBA", "Display", "Network", "Analytics", "AndroidOverlayButtons",
"DSP", "GameList", "FifoPlayer", "AutoUpdate", "Movie", "Input", "Debug"})
"DSP", "GameList", "FifoPlayer", "AutoUpdate", "Movie", "Input", "Debug",
"BluetoothPassthrough"})
{
if (config_location.section == section)
return true;
@@ -93,6 +93,8 @@ public:
layer->Set(Config::SESSION_USE_FMA, m_settings.m_UseFMA);
layer->Set(Config::MAIN_BLUETOOTH_PASSTHROUGH_ENABLED, false);
if (m_settings.m_StrictSettingsSync)
{
layer->Set(Config::GFX_HACK_VERTEX_ROUDING, m_settings.m_VertexRounding);