summaryrefslogtreecommitdiffstats
path: root/src/citra/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-08-23 04:37:03 +0200
committerbunnei <bunneidev@gmail.com>2017-08-26 05:10:00 +0200
commitc781aea947e275a970a3431a36160b769865993d (patch)
tree1c1971aeba3563beb3e2b092a751f07df0c40dfd /src/citra/config.cpp
parenttelemetry_session: Log telemetry ID. (diff)
downloadyuzu-c781aea947e275a970a3431a36160b769865993d.tar
yuzu-c781aea947e275a970a3431a36160b769865993d.tar.gz
yuzu-c781aea947e275a970a3431a36160b769865993d.tar.bz2
yuzu-c781aea947e275a970a3431a36160b769865993d.tar.lz
yuzu-c781aea947e275a970a3431a36160b769865993d.tar.xz
yuzu-c781aea947e275a970a3431a36160b769865993d.tar.zst
yuzu-c781aea947e275a970a3431a36160b769865993d.zip
Diffstat (limited to 'src/citra/config.cpp')
-rw-r--r--src/citra/config.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index 73846ed91..3869b6b5d 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -156,8 +156,12 @@ void Config::ReadValues() {
static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689));
// Web Service
+ Settings::values.enable_telemetry =
+ sdl2_config->GetBoolean("WebService", "enable_telemetry", true);
Settings::values.telemetry_endpoint_url = sdl2_config->Get(
"WebService", "telemetry_endpoint_url", "https://services.citra-emu.org/api/telemetry");
+ Settings::values.citra_username = sdl2_config->Get("WebService", "citra_username", "");
+ Settings::values.citra_token = sdl2_config->Get("WebService", "citra_token", "");
}
void Config::Reload() {