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 committed 2026-04-18 19:40:25 +02:00
1 parent 42175d4e75
commit cc01a60347
6 files changed
+30 -62

No files matched your search

@@ -300,9 +300,6 @@ object NativeLibrary {
@JvmStatic
external fun ResetDolphinSettings()
@JvmStatic
external fun UpdateGCAdapterScanThread()
/**
* Initializes the native parts of the app.
*
@@ -56,7 +56,6 @@ class Settings : Closeable {
NativeConfig.save(NativeConfig.LAYER_BASE)
NativeLibrary.ReloadLoggerConfig()
NativeLibrary.UpdateGCAdapterScanThread()
} else {
NativeConfig.save(NativeConfig.LAYER_LOCAL_GAME)
}