mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Emscripten tweaks (nw)
This commit is contained in:
parent
bded10179b
commit
141e1c7770
@ -115,7 +115,7 @@ end
|
||||
targetextension ".bc"
|
||||
if os.getenv("EMSCRIPTEN") then
|
||||
local emccopts = ""
|
||||
.. " -O3"
|
||||
.. " -O" .. _OPTIONS["OPTIMIZE"]
|
||||
.. " -s USE_SDL=2"
|
||||
.. " -s USE_SDL_TTF=2"
|
||||
.. " --memory-init-file 0"
|
||||
@ -132,7 +132,9 @@ end
|
||||
.. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "artwork/slot-mask.png@artwork/slot-mask.png"
|
||||
|
||||
if _OPTIONS["SYMBOLS"]~=nil and _OPTIONS["SYMBOLS"]~="0" then
|
||||
emccopts = emccopts .. " -g" .. _OPTIONS["SYMLEVEL"]
|
||||
emccopts = emccopts
|
||||
.. " -g" .. _OPTIONS["SYMLEVEL"]
|
||||
.. " -s DEMANGLE_SUPPORT=1"
|
||||
end
|
||||
|
||||
if _OPTIONS["ARCHOPTS"] then
|
||||
|
Loading…
Reference in New Issue
Block a user