mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-08-25 11:45:58 +00:00
Try fix libretro android again
This commit is contained in:
parent
613aeabd02
commit
d7e343d03b
3 changed files with 8 additions and 10 deletions
|
@ -201,9 +201,7 @@ target_include_directories(boost SYSTEM INTERFACE ${Boost_INCLUDE_DIR})
|
|||
|
||||
if(ANDROID)
|
||||
set(CRYPTOPP_OPT_DISABLE_ASM ON CACHE BOOL "" FORCE)
|
||||
if(NOT BUILD_LIBRETRO_CORE)
|
||||
target_sources(AlberCore PRIVATE src/jni_driver.cpp)
|
||||
endif()
|
||||
target_sources(AlberCore PRIVATE src/jni_driver.cpp)
|
||||
|
||||
target_link_libraries(AlberCore PRIVATE EGL log)
|
||||
endif()
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue