diff options
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/3rdparty.lua | 5 | ||||
-rw-r--r-- | scripts/src/machine.lua | 84 | ||||
-rw-r--r-- | scripts/src/main.lua | 5 |
3 files changed, 92 insertions, 2 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 598c8137b7a..db9b94d6adc 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -781,13 +781,15 @@ end MAME_DIR .. "3rdparty/bgfx/src/glcontext_ppapi.cpp", MAME_DIR .. "3rdparty/bgfx/src/glcontext_wgl.cpp", MAME_DIR .. "3rdparty/bgfx/src/image.cpp", + MAME_DIR .. "3rdparty/bgfx/src/hmd.cpp", MAME_DIR .. "3rdparty/bgfx/src/hmd_ovr.cpp", MAME_DIR .. "3rdparty/bgfx/src/hmd_openvr.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_d3d12.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_d3d11.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_d3d9.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_gl.cpp", - MAME_DIR .. "3rdparty/bgfx/src/renderer_null.cpp", + MAME_DIR .. "3rdparty/bgfx/src/renderer_gnm.cpp", + MAME_DIR .. "3rdparty/bgfx/src/renderer_noop.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_vk.cpp", MAME_DIR .. "3rdparty/bgfx/src/debug_renderdoc.cpp", MAME_DIR .. "3rdparty/bgfx/src/shader.cpp", @@ -812,7 +814,6 @@ end MAME_DIR .. "3rdparty/bgfx/3rdparty/ib-compress/indexbufferdecompression.cpp", MAME_DIR .. "3rdparty/bgfx/3rdparty/ocornut-imgui/imgui.cpp", MAME_DIR .. "3rdparty/bgfx/3rdparty/ocornut-imgui/imgui_draw.cpp", - MAME_DIR .. "3rdparty/bgfx/3rdparty/ocornut-imgui/imgui_wm.cpp", } if _OPTIONS["targetos"]=="macosx" then files { diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua index f1cecc70ec8..63bec113de8 100644 --- a/scripts/src/machine.lua +++ b/scripts/src/machine.lua @@ -284,6 +284,30 @@ end --------------------------------------------------- -- +--@src/devices/machine/7400.h,MACHINES["TTL7400"] = true +--------------------------------------------------- + +if (MACHINES["TTL7400"]~=null) then + files { + MAME_DIR .. "src/devices/machine/7400.cpp", + MAME_DIR .. "src/devices/machine/7400.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/7404.h,MACHINES["TTL7404"] = true +--------------------------------------------------- + +if (MACHINES["TTL7404"]~=null) then + files { + MAME_DIR .. "src/devices/machine/7404.cpp", + MAME_DIR .. "src/devices/machine/7404.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/74123.h,MACHINES["TTL74123"] = true --------------------------------------------------- @@ -333,6 +357,30 @@ end --------------------------------------------------- -- +--@src/devices/machine/74161.h,MACHINES["TTL74161"] = true +--------------------------------------------------- + +if (MACHINES["TTL74161"]~=null) then + files { + MAME_DIR .. "src/devices/machine/74161.cpp", + MAME_DIR .. "src/devices/machine/74161.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/74175.h,MACHINES["TTL74175"] = true +--------------------------------------------------- + +if (MACHINES["TTL74175"]~=null) then + files { + MAME_DIR .. "src/devices/machine/74175.cpp", + MAME_DIR .. "src/devices/machine/74175.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/74181.h,MACHINES["TTL74181"] = true --------------------------------------------------- @@ -357,6 +405,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/82s129.h,MACHINES["PROM82S129"] = true +--------------------------------------------------- + +if (MACHINES["PROM82S129"]~=null) then + files { + MAME_DIR .. "src/devices/machine/82s129.cpp", + MAME_DIR .. "src/devices/machine/82s129.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/8042kbdc.h,MACHINES["KBDC8042"] = true --------------------------------------------------- @@ -453,6 +513,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/am2847.h,MACHINES["AM2847"] = true +--------------------------------------------------- + +if (MACHINES["AM2847"]~=null) then + files { + MAME_DIR .. "src/devices/machine/am2847.cpp", + MAME_DIR .. "src/devices/machine/am2847.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/am53cf96.h,MACHINES["AM53CF96"] = true --------------------------------------------------- @@ -635,6 +707,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/dm9334.h,MACHINES["DM9334"] = true +--------------------------------------------------- + +if (MACHINES["DM9334"]~=null) then + files { + MAME_DIR .. "src/devices/machine/dm9334.cpp", + MAME_DIR .. "src/devices/machine/dm9334.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/ds1204.h,MACHINES["DS1204"] = true --------------------------------------------------- diff --git a/scripts/src/main.lua b/scripts/src/main.lua index eb7cac4c8d5..abd91200edd 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -137,6 +137,11 @@ end .. " -s DEMANGLE_SUPPORT=1" end + if _OPTIONS["WEBASSEMBLY"] then + emccopts = emccopts + .. " -s BINARYEN=1" + end + if _OPTIONS["ARCHOPTS"] then emccopts = emccopts .. " " .. _OPTIONS["ARCHOPTS"] end |