diff options
| author | Mai <mai.iam2048@gmail.com> | 2023-03-10 16:51:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 16:51:19 -0500 |
| commit | 00a6f8c82c8631b8a53feaedad930057cdd8cc0d (patch) | |
| tree | 4fdb88180e5aa5064250b7371b94f1f87d98e502 /Source/Android | |
| parent | 3ec32c5aa5e48e99c415d50ae816d517057feee0 (diff) | |
| parent | d31733ce6431fa6fd16f2d2bbdb747e447c0c1aa (diff) | |
Merge pull request #11637 from AdmiralCurtiss/dvd-class
HW/DVD: Refactor DVDInterface and DVDThread to classes.
Diffstat (limited to 'Source/Android')
| -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, |
