File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -388,10 +388,9 @@ if(ENABLE_VULKAN)
388
388
set (ALL_SOURCES ${ALL_SOURCES} ${RENDERER_VK_SOURCE_FILES} )
389
389
endif ()
390
390
391
- if (ANDROID AND NOT BUILD_HYDRA_CORE )
391
+ if (ANDROID )
392
392
set (HEADER_FILES ${HEADER_FILES} include /jni_driver.hpp )
393
393
set (ALL_SOURCES ${ALL_SOURCES} src/jni_driver.cpp )
394
- target_compile_definitions (Alber PRIVATE PANDA3DS_FRONTEND_PANDROID=1 )
395
394
endif ()
396
395
397
396
if (BUILD_HYDRA_CORE )
Original file line number Diff line number Diff line change 6
6
#include " loader/ncch.hpp"
7
7
#include " memory.hpp"
8
8
9
- #ifdef PANDA3DS_FRONTEND_PANDROID
9
+ #ifdef __ANDROID__
10
10
#include " jni_driver.hpp"
11
11
#endif
12
12
@@ -260,7 +260,7 @@ bool NCCH::parseSMDH(const std::vector<u8>& smdh) {
260
260
}
261
261
262
262
// In the Android version, notify the application that we're loading an SMDH file, to extract data for the title list
263
- #ifdef PANDA3DS_FRONTEND_PANDROID
263
+ #ifdef __ANDROID__
264
264
Pandroid::onSmdhLoaded (smdh);
265
265
#endif
266
266
You can’t perform that action at this time.
0 commit comments