mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
Merge pull request #355 from wheremyfoodat/helpme
Rollback Pandroid/Hydra split
This commit is contained in:
commit
74e8f7d4eb
2 changed files with 3 additions and 4 deletions
|
@ -388,10 +388,9 @@ if(ENABLE_VULKAN)
|
||||||
set(ALL_SOURCES ${ALL_SOURCES} ${RENDERER_VK_SOURCE_FILES})
|
set(ALL_SOURCES ${ALL_SOURCES} ${RENDERER_VK_SOURCE_FILES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ANDROID AND NOT BUILD_HYDRA_CORE)
|
if(ANDROID)
|
||||||
set(HEADER_FILES ${HEADER_FILES} include/jni_driver.hpp)
|
set(HEADER_FILES ${HEADER_FILES} include/jni_driver.hpp)
|
||||||
set(ALL_SOURCES ${ALL_SOURCES} src/jni_driver.cpp)
|
set(ALL_SOURCES ${ALL_SOURCES} src/jni_driver.cpp)
|
||||||
target_compile_definitions(Alber PRIVATE PANDA3DS_FRONTEND_PANDROID=1)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_HYDRA_CORE)
|
if(BUILD_HYDRA_CORE)
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include "loader/ncch.hpp"
|
#include "loader/ncch.hpp"
|
||||||
#include "memory.hpp"
|
#include "memory.hpp"
|
||||||
|
|
||||||
#ifdef PANDA3DS_FRONTEND_PANDROID
|
#ifdef __ANDROID__
|
||||||
#include "jni_driver.hpp"
|
#include "jni_driver.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -260,7 +260,7 @@ bool NCCH::parseSMDH(const std::vector<u8>& smdh) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the Android version, notify the application that we're loading an SMDH file, to extract data for the title list
|
// In the Android version, notify the application that we're loading an SMDH file, to extract data for the title list
|
||||||
#ifdef PANDA3DS_FRONTEND_PANDROID
|
#ifdef __ANDROID__
|
||||||
Pandroid::onSmdhLoaded(smdh);
|
Pandroid::onSmdhLoaded(smdh);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue