update asyncify imports to include the new hamsterNet start/end pause functions

This commit is contained in:
Moros Smith 2024-08-25 20:32:08 -04:00
parent 3758227a15
commit 2d4036669d

View File

@ -247,7 +247,7 @@ if (EMSCRIPTEN)
-sUSE_LIBPNG=1 -sUSE_LIBPNG=1
-sLLD_REPORT_UNDEFINED -sLLD_REPORT_UNDEFINED
-s ASYNCIFY -s ASYNCIFY
-sASYNCIFY_IMPORTS=hamsterNet__initSession,hamsterNet__setRacerName,hamsterNet__startRace,hamsterNet__finishRace,hamsterNet__getLeaderboard -sASYNCIFY_IMPORTS=hamsterNet__initSession,hamsterNet__setRacerName,hamsterNet__startRace,hamsterNet__finishRace,hamsterNet__getLeaderboard,hamsterNet__startPause,hamsterNet__endPause
--preload-file ${SOURCE_DATA_DIR}@assets) --preload-file ${SOURCE_DATA_DIR}@assets)
else() else()
target_link_options( target_link_options(
@ -259,7 +259,7 @@ if (EMSCRIPTEN)
-sUSE_LIBPNG=1 -sUSE_LIBPNG=1
-sLLD_REPORT_UNDEFINED -sLLD_REPORT_UNDEFINED
-s ASYNCIFY -s ASYNCIFY
-sASYNCIFY_IMPORTS=hamsterNet__initSession,hamsterNet__setRacerName,hamsterNet__startRace,hamsterNet__finishRace,hamsterNet__getLeaderboard -sASYNCIFY_IMPORTS=hamsterNet__initSession,hamsterNet__setRacerName,hamsterNet__startRace,hamsterNet__finishRace,hamsterNet__getLeaderboard,hamsterNet__startPause,hamsterNet__endPause
) )
endif() endif()