Build Android libretro core on CI (#797)

* Attempt to build Android libretro core on CI

* Hopefully fix Android libretro compilation

* Try fix libretro android again

* Fix SO name

* Rename .so again

* Nit

* Update Android Libretro build

* Remove ccache for Android libretro
This commit is contained in:
wheremyfoodat
2025-07-31 17:04:15 +03:00
committed by GitHub
parent 9d04f40c3f
commit 2699dcd82e
3 changed files with 36 additions and 7 deletions

View File

@@ -10,11 +10,11 @@
#include "android_utils.hpp"
#include "sdl_sensors.hpp"
std::unique_ptr<Emulator> emulator = nullptr;
HIDService* hidService = nullptr;
RendererGL* renderer = nullptr;
bool romLoaded = false;
JavaVM* jvm = nullptr;
static std::unique_ptr<Emulator> emulator = nullptr;
static HIDService* hidService = nullptr;
static RendererGL* renderer = nullptr;
static bool romLoaded = false;
static JavaVM* jvm = nullptr;
jclass alberClass;
jmethodID alberClassOpenDocument;

View File

@@ -19,8 +19,8 @@ static std::filesystem::path savePath;
static bool screenTouched = false;
static bool usingGLES = false;
std::unique_ptr<Emulator> emulator;
RendererGL* renderer;
static std::unique_ptr<Emulator> emulator;
static RendererGL* renderer;
std::filesystem::path Emulator::getConfigPath() { return std::filesystem::path(savePath / "config.toml"); }
std::filesystem::path Emulator::getAppDataRoot() { return std::filesystem::path(savePath / "Emulator Files"); }