citra-emu
/
citra
Archived
1
0
Fork 0

webservice: change naming on android as well

This commit is contained in:
Vitor Kiguchi 2022-06-11 11:44:49 +02:00
parent 28188f13f5
commit bc5bf28333
1 changed files with 5 additions and 4 deletions

View File

@ -21,6 +21,7 @@
#include "jni/config.h" #include "jni/config.h"
#include "jni/default_ini.h" #include "jni/default_ini.h"
#include "jni/input_manager.h" #include "jni/input_manager.h"
#include "network/network_settings.h"
Config::Config() { Config::Config() {
// TODO: Don't hardcode the path; let the frontend decide where to put the config files. // TODO: Don't hardcode the path; let the frontend decide where to put the config files.
@ -260,12 +261,12 @@ void Config::ReadValues() {
} }
// Web Service // Web Service
Settings::values.enable_telemetry = NetSettings::values.enable_telemetry =
sdl2_config->GetBoolean("WebService", "enable_telemetry", true); sdl2_config->GetBoolean("WebService", "enable_telemetry", true);
Settings::values.web_api_url = NetSettings::values.web_api_url =
sdl2_config->GetString("WebService", "web_api_url", "https://api.citra-emu.org"); sdl2_config->GetString("WebService", "web_api_url", "https://api.citra-emu.org");
Settings::values.citra_username = sdl2_config->GetString("WebService", "citra_username", ""); NetSettings::values.citra_username = sdl2_config->GetString("WebService", "citra_username", "");
Settings::values.citra_token = sdl2_config->GetString("WebService", "citra_token", ""); NetSettings::values.citra_token = sdl2_config->GetString("WebService", "citra_token", "");
// Update CFG file based on settings // Update CFG file based on settings
UpdateCFG(); UpdateCFG();