summaryrefslogtreecommitdiff
path: root/Source/Android/jni/MainAndroid.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-04-18 16:56:25 +0200
committerJosJuice <josjuice@gmail.com>2026-04-18 19:40:25 +0200
commitcc01a603474b66053a2cf5a6104ff637ed144cfe (patch)
tree09f18b525b86d4d80ffba4a6ccf2bebd2e782976 /Source/Android/jni/MainAndroid.cpp
parent42175d4e75de1e31c44c734862da698703c92270 (diff)
GCAdapter: Automatically start and stop thread
This keeps the logic encapsulated inside GCAdapter.cpp so callers don't have to think about it.
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
-rw-r--r--Source/Android/jni/MainAndroid.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp
index 7112833403..0e841b6d7e 100644
--- a/Source/Android/jni/MainAndroid.cpp
+++ b/Source/Android/jni/MainAndroid.cpp
@@ -56,8 +56,6 @@
#include "DiscIO/ScrubbedBlob.h"
#include "DiscIO/Volume.h"
-#include "InputCommon/GCAdapter.h"
-
#include "UICommon/GameFile.h"
#include "UICommon/UICommon.h"
@@ -533,20 +531,6 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_ResetDolphin
UICommon::SetUserDirectory(File::GetUserPath(D_USER_IDX));
}
-JNIEXPORT void JNICALL
-Java_org_dolphinemu_dolphinemu_NativeLibrary_UpdateGCAdapterScanThread(JNIEnv*, jclass)
-{
- HostThreadLock guard;
- if (GCAdapter::UseAdapter())
- {
- GCAdapter::StartScanThread();
- }
- else
- {
- GCAdapter::StopScanThread();
- }
-}
-
JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_Initialize(JNIEnv*, jclass)
{
HostThreadLock guard;