force c++ shared to load at start

This commit is contained in:
qimiko committed 2024-06-22 19:34:26 -07:00
1 parent 78992316e5
commit d4e85e3055
1 file changed
+3
@@ -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)