diff options
| author | 2023-10-29 21:03:09 +0100 | |
|---|---|---|
| committer | 2023-10-29 21:03:09 +0100 | |
| commit | ae2ee86fe806a0d87fdcd180a6a10cd1bef6f1bc (patch) | |
| tree | 8e72dfc254586c28b498a24eec067acf24897958 /scripts | |
| parent | 1134903eec683d4146ee596ec902ce1e3d61b7ff (diff) | |
swp30: Use natural addresses, reorganize the meg, make envelopes and keyoff a little better
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/src/cpu.lua | 16 | ||||
| -rw-r--r-- | scripts/src/sound.lua | 8 |
2 files changed, 12 insertions, 12 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index f7b332e8f01..182c6929e84 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -3370,20 +3370,20 @@ if opt_tool(CPUS, "HPC") then end -------------------------------------------------- --- Yamaha Multiple Effects Generator ---@src/devices/sound/meg.h,CPUS["MEG"] = true +-- Yamaha SWP30 +--@src/devices/sound/swp30.h,CPUS["SWP30"] = true -------------------------------------------------- -if CPUS["MEG"] then +if CPUS["SWP30"] then files { - MAME_DIR .. "src/devices/sound/meg.cpp", - MAME_DIR .. "src/devices/sound/meg.h", + MAME_DIR .. "src/devices/sound/swp30.cpp", + MAME_DIR .. "src/devices/sound/swp30.h", } end -if opt_tool(CPUS, "MEG") then - table.insert(disasm_files , MAME_DIR .. "src/devices/sound/megd.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/sound/megd.h") +if opt_tool(CPUS, "SWP30") then + table.insert(disasm_files , MAME_DIR .. "src/devices/sound/swp30d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/sound/swp30d.h") end -------------------------------------------------- diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua index 56573224bfa..67aa52cfd68 100644 --- a/scripts/src/sound.lua +++ b/scripts/src/sound.lua @@ -1526,13 +1526,13 @@ end --------------------------------------------------- -- ---@src/devices/sound/swp30.h,SOUNDS["SWP30"] = true +--@src/devices/sound/meg.h,SOUNDS["MEG"] = true --------------------------------------------------- -if (SOUNDS["SWP30"]~=null) then +if (SOUNDS["MEG"]~=null) then files { - MAME_DIR .. "src/devices/sound/swp30.cpp", - MAME_DIR .. "src/devices/sound/swp30.h", + MAME_DIR .. "src/devices/sound/meg.cpp", + MAME_DIR .. "src/devices/sound/meg.h", } end |
