From d4e85e30559365b7d0270059d7f665f17492a9e1 Mon Sep 17 00:00:00 2001 From: qimiko <25387744+qimiko@users.noreply.github.com> Date: Sat, 22 Jun 2024 19:34:26 -0700 Subject: [PATCH] force c++ shared to load at start --- app/src/main/java/com/geode/launcher/GeometryDashActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/geode/launcher/GeometryDashActivity.kt b/app/src/main/java/com/geode/launcher/GeometryDashActivity.kt index 4acafc8..061283e 100644 --- a/app/src/main/java/com/geode/launcher/GeometryDashActivity.kt +++ b/app/src/main/java/com/geode/launcher/GeometryDashActivity.kt @@ -194,6 +194,9 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL val saveDir = LaunchUtils.getSaveDirectory(this) saveDir.mkdir() + // make sure it's loaded, just in case + System.loadLibrary("c++_shared") + LauncherFix.loadLibrary() LauncherFix.setOriginalDataPath(Constants.GJ_DATA_DIR) LauncherFix.setDataPath(saveDir.path)