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