diff options
| author | 2019-04-28 18:44:46 -0400 | |
|---|---|---|
| committer | 2019-09-30 17:21:53 -0400 | |
| commit | 647992e666617d287a06b4ffbd1db9ab6cbd524d (patch) | |
| tree | c2f7fa140a729b47a6eaa746301ec29c8e4a9aaa /src/yuzu_cmd | |
| parent | nifm: Signal to applications that internet access is available (diff) | |
| download | yuzu-647992e666617d287a06b4ffbd1db9ab6cbd524d.tar.gz yuzu-647992e666617d287a06b4ffbd1db9ab6cbd524d.tar.xz yuzu-647992e666617d287a06b4ffbd1db9ab6cbd524d.zip | |
settings: Add option to set BCAT backend
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 5 | ||||
| -rw-r--r-- | src/yuzu_cmd/default_ini.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index d82438502..1a812cb87 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -433,6 +433,11 @@ void Config::ReadValues() { | |||
| 433 | sdl2_config->Get("WebService", "web_api_url", "https://api.yuzu-emu.org"); | 433 | sdl2_config->Get("WebService", "web_api_url", "https://api.yuzu-emu.org"); |
| 434 | Settings::values.yuzu_username = sdl2_config->Get("WebService", "yuzu_username", ""); | 434 | Settings::values.yuzu_username = sdl2_config->Get("WebService", "yuzu_username", ""); |
| 435 | Settings::values.yuzu_token = sdl2_config->Get("WebService", "yuzu_token", ""); | 435 | Settings::values.yuzu_token = sdl2_config->Get("WebService", "yuzu_token", ""); |
| 436 | |||
| 437 | // Services | ||
| 438 | Settings::values.bcat_backend = sdl2_config->Get("Services", "bcat_backend", "boxcat"); | ||
| 439 | Settings::values.bcat_boxcat_local = | ||
| 440 | sdl2_config->GetBoolean("Services", "bcat_boxcat_local", false); | ||
| 436 | } | 441 | } |
| 437 | 442 | ||
| 438 | void Config::Reload() { | 443 | void Config::Reload() { |
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index a6171c3ed..8d18a4a5a 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h | |||
| @@ -251,6 +251,11 @@ web_api_url = https://api.yuzu-emu.org | |||
| 251 | yuzu_username = | 251 | yuzu_username = |
| 252 | yuzu_token = | 252 | yuzu_token = |
| 253 | 253 | ||
| 254 | [Services] | ||
| 255 | # The name of the backend to use for BCAT | ||
| 256 | # If this is set to 'boxcat' boxcat will be used, otherwise a null implementation will be used | ||
| 257 | bcat_backend = | ||
| 258 | |||
| 254 | [AddOns] | 259 | [AddOns] |
| 255 | # Used to disable add-ons | 260 | # Used to disable add-ons |
| 256 | # List of title IDs of games that will have add-ons disabled (separated by '|'): | 261 | # List of title IDs of games that will have add-ons disabled (separated by '|'): |