summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2023-10-29 18:38:19 -0400
committer arbee <rb6502@users.noreply.github.com>2023-10-29 18:38:19 -0400
commitf923597fedbd15e989c92aa03123198d27e5820d (patch)
tree45f937c05fcfbfcedf0114a3e08d219b617ef0a3 /scripts/src
parent4d089bca77c1069dc2a06e085c5167e201a66c9a (diff)
Revert "swp30: Use natural addresses, reorganize the meg, make envelopes and keyoff a little better"
This reverts commit ae2ee86fe806a0d87fdcd180a6a10cd1bef6f1bc.
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/cpu.lua16
-rw-r--r--scripts/src/sound.lua8
2 files changed, 12 insertions, 12 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index 182c6929e84..f7b332e8f01 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -3370,20 +3370,20 @@ if opt_tool(CPUS, "HPC") then
end
--------------------------------------------------
--- Yamaha SWP30
---@src/devices/sound/swp30.h,CPUS["SWP30"] = true
+-- Yamaha Multiple Effects Generator
+--@src/devices/sound/meg.h,CPUS["MEG"] = true
--------------------------------------------------
-if CPUS["SWP30"] then
+if CPUS["MEG"] 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
-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")
+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")
end
--------------------------------------------------
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index 67aa52cfd68..56573224bfa 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1526,13 +1526,13 @@ end
---------------------------------------------------
--
---@src/devices/sound/meg.h,SOUNDS["MEG"] = true
+--@src/devices/sound/swp30.h,SOUNDS["SWP30"] = true
---------------------------------------------------
-if (SOUNDS["MEG"]~=null) then
+if (SOUNDS["SWP30"]~=null) 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