Skip to content

Commit

Permalink
force c++ shared to load at start
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Jun 23, 2024
1 parent 7899231 commit d4e85e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main/java/com/geode/launcher/GeometryDashActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d4e85e3

Please sign in to comment.