mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 08:36:16 +00:00
Fix exceptions
This commit is contained in:
@@ -89,13 +89,18 @@ endif()
|
||||
##########################################
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Emscripten")
|
||||
add_compile_options(
|
||||
-fexceptions
|
||||
)
|
||||
|
||||
add_link_options(
|
||||
-fexceptions
|
||||
-sALLOW_MEMORY_GROWTH=1
|
||||
-sASSERTIONS
|
||||
-sWASM_BIGINT
|
||||
-sENVIRONMENT=web
|
||||
-sUSE_OFFSET_CONVERTER
|
||||
-sEXCEPTION_CATCHING_ALLOWED=[..]
|
||||
#-sEXCEPTION_CATCHING_ALLOWED=[..]
|
||||
-sEXIT_RUNTIME
|
||||
#-lnodefs.js -sNODERAWFS=1
|
||||
#-sASYNCIFY
|
||||
|
||||
Reference in New Issue
Block a user