move helper init before native library init

This commit is contained in:
qimiko committed 2023-06-02 19:41:31 -07:00
1 parent 8142ba3876
commit 5237817b39
2 files changed
+3 -4

No files matched your search

@@ -46,8 +46,6 @@ object Cocos2dxHelper {
this.cocos2dxHelperListener = cocos2dxHelperListener
packageName = applicationInfo.packageName
fileDirectory = context.filesDir.absolutePath
nativeSetApkPath(applicationInfo.sourceDir)
// Cocos2dxHelper.sCocos2dxAccelerometer = Cocos2dxAccelerometer(pContext)
// Cocos2dxHelper.sCocos2dMusic = Cocos2dxMusic(pContext)
// var simultaneousStreams: Int = Cocos2dxSound.MAX_SIMULTANEOUS_STREAMS_DEFAULT