diff options
author | 2016-03-23 04:52:13 +0000 | |
---|---|---|
committer | 2016-03-23 04:52:13 +0000 | |
commit | b961152eee673a8d5e54b0278cf8137ee69950f5 (patch) | |
tree | 666650ac2e14cf61c83ea22bd05185153aa4e1e6 /scripts/src | |
parent | 1c7f05a833f3e16a3f5085349e248e803b0d5068 (diff) |
Allow command-line errors to work in Emscripten (nw)
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua index a517c39092b..6db88971403 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -117,7 +117,7 @@ end emccopts = emccopts .. " -s ALLOW_MEMORY_GROWTH=0" emccopts = emccopts .. " -s TOTAL_MEMORY=268435456" emccopts = emccopts .. " -s DISABLE_EXCEPTION_CATCHING=2" - emccopts = emccopts .. " -s EXCEPTION_CATCHING_WHITELIST='[\"__ZN15running_machine17start_all_devicesEv\"]'" + emccopts = emccopts .. " -s EXCEPTION_CATCHING_WHITELIST='[\"__ZN15running_machine17start_all_devicesEv\",\"__ZN12cli_frontend7executeEiPPc\"]'" emccopts = emccopts .. " -s EXPORTED_FUNCTIONS=\"['_main', '_malloc', '__Z14js_get_machinev', '__Z9js_get_uiv', '__Z12js_get_soundv', '__ZN10ui_manager12set_show_fpsEb', '__ZNK10ui_manager8show_fpsEv', '__ZN13sound_manager4muteEbh', '_SDL_PauseAudio']\"" emccopts = emccopts .. " --pre-js " .. _MAKE.esc(MAME_DIR) .. "src/osd/modules/sound/js_sound.js" emccopts = emccopts .. " --post-js " .. _MAKE.esc(MAME_DIR) .. "src/osd/sdl/emscripten_post.js" |