diff options
| author | crueter <crueter@eden-emu.dev> | 2026-02-04 04:16:39 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-02-04 04:16:39 +0100 |
| commit | d59fcf01bf9a7b3779e537adbbf5be483db8d381 (patch) | |
| tree | 41c21f00a62ece751fca9a7a175636fd4f70a77e /src/android | |
| parent | b8456394f1bdbdc20aad0f27150681c96136823b (diff) | |
[frontend] Generate web token at runtime (#3462)
Rather than having that hardcoded one like before. Also adds
infrastructure which should make it easier to setup defaults at runtime
(e.g. GPU stuff?)
Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3462
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/android')
| -rw-r--r-- | src/android/app/src/main/jni/native_config.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/android/app/src/main/jni/native_config.cpp b/src/android/app/src/main/jni/native_config.cpp index 800f3e4569..81c0afc7ef 100644 --- a/src/android/app/src/main/jni/native_config.cpp +++ b/src/android/app/src/main/jni/native_config.cpp @@ -1,18 +1,19 @@ -// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later #include <string> #include <jni.h> -#include <common/fs/path_util.h> #include "android_config.h" #include "android_settings.h" #include "common/android/android_common.h" #include "common/android/id_cache.h" +#include "common/fs/path_util.h" #include "common/logging/log.h" #include "common/settings.h" #include "frontend_common/config.h" +#include "frontend_common/settings_generator.h" #include "native.h" std::unique_ptr<AndroidConfig> global_config; @@ -37,6 +38,7 @@ extern "C" { void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_initializeGlobalConfig(JNIEnv* env, jobject obj) { global_config = std::make_unique<AndroidConfig>(); + FrontendCommon::GenerateSettings(); } void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_unloadGlobalConfig(JNIEnv* env, jobject obj) { |
