diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-03-09 21:43:03 +0100 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-03-10 18:12:59 +0100 |
| commit | eb25c46a91cc0adbbf0f559422d2e6357f7cf979 (patch) | |
| tree | 3bde2e4e80bd1a5ba97281f39c6df8335e6ee715 /Source/Android/jni/MainAndroid.cpp | |
| parent | 3ec32c5aa5e48e99c415d50ae816d517057feee0 (diff) | |
HW/DVDInterface: Refactor to class.
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 01728ce014..709be9146f 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -44,6 +44,7 @@ #include "Core/PowerPC/PowerPC.h" #include "Core/PowerPC/Profiler.h" #include "Core/State.h" +#include "Core/System.h" #include "DiscIO/Blob.h" #include "DiscIO/Enums.h" @@ -648,7 +649,7 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_ChangeDisc(J { const std::string path = GetJString(env, jFile); __android_log_print(ANDROID_LOG_INFO, DOLPHIN_TAG, "Change Disc: %s", path.c_str()); - Core::RunAsCPUThread([&path] { DVDInterface::ChangeDisc(path); }); + Core::RunAsCPUThread([&path] { Core::System::GetInstance().GetDVDInterface().ChangeDisc(path); }); } JNIEXPORT jobject JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_GetLogTypeNames(JNIEnv* env, |
