mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Allow consuming up to 4gb of memory with emscripten
This commit is contained in:
@@ -100,6 +100,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Emscripten")
|
||||
-sASSERTIONS
|
||||
-sWASM_BIGINT
|
||||
-sUSE_OFFSET_CONVERTER
|
||||
-sMAXIMUM_MEMORY=4gb
|
||||
#-sEXCEPTION_CATCHING_ALLOWED=[..]
|
||||
-sEXIT_RUNTIME
|
||||
#-sASYNCIFY
|
||||
@@ -109,7 +110,6 @@ if(CMAKE_SYSTEM_NAME MATCHES "Emscripten")
|
||||
add_link_options(
|
||||
-lnodefs.js -sNODERAWFS=1
|
||||
-sENVIRONMENT=node
|
||||
-sMAXIMUM_MEMORY=4gb
|
||||
--pre-js ${CMAKE_CURRENT_LIST_DIR}/misc/node-pre-script.js
|
||||
)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user