mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Fix default bcat_backend init
This commit is contained in:
parent
ac8b1445ff
commit
c7a7e47615
2 changed files with 3 additions and 3 deletions
|
@ -648,7 +648,7 @@ void Config::ReadDebuggingValues() {
|
||||||
void Config::ReadServiceValues() {
|
void Config::ReadServiceValues() {
|
||||||
qt_config->beginGroup(QStringLiteral("Services"));
|
qt_config->beginGroup(QStringLiteral("Services"));
|
||||||
Settings::values.bcat_backend =
|
Settings::values.bcat_backend =
|
||||||
ReadSetting(QStringLiteral("bcat_backend"), QStringLiteral("null"))
|
ReadSetting(QStringLiteral("bcat_backend"), QStringLiteral("none"))
|
||||||
.toString()
|
.toString()
|
||||||
.toStdString();
|
.toStdString();
|
||||||
Settings::values.bcat_boxcat_local =
|
Settings::values.bcat_boxcat_local =
|
||||||
|
@ -1239,7 +1239,7 @@ void Config::SaveDebuggingValues() {
|
||||||
void Config::SaveServiceValues() {
|
void Config::SaveServiceValues() {
|
||||||
qt_config->beginGroup(QStringLiteral("Services"));
|
qt_config->beginGroup(QStringLiteral("Services"));
|
||||||
WriteSetting(QStringLiteral("bcat_backend"),
|
WriteSetting(QStringLiteral("bcat_backend"),
|
||||||
QString::fromStdString(Settings::values.bcat_backend), QStringLiteral("null"));
|
QString::fromStdString(Settings::values.bcat_backend), QStringLiteral("none"));
|
||||||
WriteSetting(QStringLiteral("bcat_boxcat_local"), Settings::values.bcat_boxcat_local, false);
|
WriteSetting(QStringLiteral("bcat_boxcat_local"), Settings::values.bcat_boxcat_local, false);
|
||||||
qt_config->endGroup();
|
qt_config->endGroup();
|
||||||
}
|
}
|
||||||
|
|
|
@ -457,7 +457,7 @@ void Config::ReadValues() {
|
||||||
Settings::values.yuzu_token = sdl2_config->Get("WebService", "yuzu_token", "");
|
Settings::values.yuzu_token = sdl2_config->Get("WebService", "yuzu_token", "");
|
||||||
|
|
||||||
// Services
|
// Services
|
||||||
Settings::values.bcat_backend = sdl2_config->Get("Services", "bcat_backend", "null");
|
Settings::values.bcat_backend = sdl2_config->Get("Services", "bcat_backend", "none");
|
||||||
Settings::values.bcat_boxcat_local =
|
Settings::values.bcat_boxcat_local =
|
||||||
sdl2_config->GetBoolean("Services", "bcat_boxcat_local", false);
|
sdl2_config->GetBoolean("Services", "bcat_boxcat_local", false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue