GCAdapter: Automatically start and stop thread

This keeps the logic encapsulated inside GCAdapter.cpp so callers don't
have to think about it.
This commit is contained in:
JosJuice
2026-04-18 16:56:25 +02:00
parent 42175d4e75
commit cc01a60347
6 changed files with 30 additions and 62 deletions

View File

@@ -300,9 +300,6 @@ object NativeLibrary {
@JvmStatic
external fun ResetDolphinSettings()
@JvmStatic
external fun UpdateGCAdapterScanThread()
/**
* Initializes the native parts of the app.
*

View File

@@ -56,7 +56,6 @@ class Settings : Closeable {
NativeConfig.save(NativeConfig.LAYER_BASE)
NativeLibrary.ReloadLoggerConfig()
NativeLibrary.UpdateGCAdapterScanThread()
} else {
NativeConfig.save(NativeConfig.LAYER_LOCAL_GAME)
}