From bc5bf283338c22c4798383a48f2189fcfd075b18 Mon Sep 17 00:00:00 2001 From: Vitor Kiguchi Date: Sat, 11 Jun 2022 11:44:49 +0200 Subject: [PATCH] webservice: change naming on android as well --- src/android/app/src/main/jni/config.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/android/app/src/main/jni/config.cpp b/src/android/app/src/main/jni/config.cpp index 1c9aa7cc9..37afae5a4 100644 --- a/src/android/app/src/main/jni/config.cpp +++ b/src/android/app/src/main/jni/config.cpp @@ -21,6 +21,7 @@ #include "jni/config.h" #include "jni/default_ini.h" #include "jni/input_manager.h" +#include "network/network_settings.h" Config::Config() { // 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 - Settings::values.enable_telemetry = + NetSettings::values.enable_telemetry = 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"); - Settings::values.citra_username = sdl2_config->GetString("WebService", "citra_username", ""); - Settings::values.citra_token = sdl2_config->GetString("WebService", "citra_token", ""); + NetSettings::values.citra_username = sdl2_config->GetString("WebService", "citra_username", ""); + NetSettings::values.citra_token = sdl2_config->GetString("WebService", "citra_token", ""); // Update CFG file based on settings UpdateCFG();