diff --git a/hmm.json b/hmm.json index e83c95c9c..22d0478bb 100644 --- a/hmm.json +++ b/hmm.json @@ -132,7 +132,7 @@ { "name": "hxcpp", "type": "git", - "ref": "9a86ccf33a951fc54ff2e75720eb3b62eaab523a", + "ref": "0376e9b19af9a4d91f9d9afc131a358467856a10", "url": "https://github.com/FunkinCrew/hxcpp" }, { @@ -189,7 +189,7 @@ { "name": "lime", "type": "git", - "ref": "ed1a8c1d309221ad9a00ed3b35da7cf7e8d2b2e8", + "ref": "115ed07f2118768ad9c28d245936ad391de5d5e2", "url": "https://github.com/FunkinCrew/lime" }, { @@ -202,7 +202,7 @@ { "name": "openfl", "type": "git", - "ref": "640efd4b4939f07c9a47c421ead7d766cb91ba8c", + "ref": "c7b500b5dbac782f80304cc62e28ca998a459d1a", "url": "https://github.com/FunkinCrew/openfl" }, { diff --git a/templates/haxe/ApplicationMain.hx b/templates/haxe/ApplicationMain.hx index b832197b4..0481fd44d 100644 --- a/templates/haxe/ApplicationMain.hx +++ b/templates/haxe/ApplicationMain.hx @@ -25,7 +25,7 @@ using funkin.util.WindowUtil; @:access(openfl.display.Stage) @:access(openfl.events.UncaughtErrorEvents) #if (static_link || ios) -@:cppFileCode("\nextern \"C\" int zlib_register_prims ();\nextern \"C\" int lime_register_prims ();\n::foreach ndlls::::if (registerStatics)::extern \"C\" int ::nameSafe::_register_prims ();::end::::end::") +@:cppFileCode("\nextern \"C\" int lime_register_prims ();\n::foreach ndlls::::if (registerStatics)::extern \"C\" int ::nameSafe::_register_prims ();::end::::end::") #end class ApplicationMain { @@ -33,7 +33,6 @@ class ApplicationMain public static function main():Void { #if (static_link || ios) - untyped __cpp__("zlib_register_prims ()"); untyped __cpp__("lime_register_prims ()"); ::foreach ndlls::::if (registerStatics)::untyped __cpp__("::nameSafe::_register_prims ()");::end::::end:: #end