mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 12:31:40 +12:00
Add initial pandroid files
This commit is contained in:
parent
a98fcfc56f
commit
469ae2805c
41 changed files with 782 additions and 10 deletions
11
src/jni_driver.cpp
Normal file
11
src/jni_driver.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include <jni.h>
|
||||
#include <android/log.h>
|
||||
#include "emulator.hpp"
|
||||
|
||||
std::unique_ptr<Emulator> emulator;
|
||||
|
||||
extern "C" JNIEXPORT void JNICALL Java_com_panda3ds_pandroid_AlberDriver_Initialize(JNIEnv* env, jobject obj) {
|
||||
__android_log_print(ANDROID_LOG_INFO, "Panda3DS", "Initializing Alber Driver");
|
||||
emulator = std::make_unique<Emulator>();
|
||||
__android_log_print(ANDROID_LOG_INFO, "Panda3DS", "Done");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue