summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2020-04-04 21:59:50 +0900
committer GitHub <noreply@github.com>2020-04-04 08:59:50 -0400
commit6aef7adadd20a4fe351692fc899c8879b11ec42b (patch)
tree741c51e040b88d46f4e8fe89f60f2d5d5eb83fbb /scripts/src
parent7b060ff044b545769ac654247d4037b8bb9a5c8f (diff)
Split S-SMP and S-DSP implement in snes_snd.cpp (#6417)
* Split S-SMP and S-DSP implement in snes_snd.cpp both convert memory handler into device_memory_interface, Internalize ROM region of S-SMP s_smp.cpp : Use callback for S-DSP interface, Split internal and external memory space snes.cpp : Convert WRAM into shared_ptr * s_dsp.cpp : Reduce #define macros
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/machine.lua12
-rw-r--r--scripts/src/sound.lua12
2 files changed, 24 insertions, 0 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index e72a653f5b9..4e7352c3e41 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -4271,6 +4271,18 @@ end
---------------------------------------------------
--
+--@src/devices/machine/s_smp.h,MACHINES["S_SMP"] = true
+---------------------------------------------------
+
+if (MACHINES["S_SMP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/s_smp.cpp",
+ MAME_DIR .. "src/devices/machine/s_smp.h",
+ }
+end
+
+---------------------------------------------------
+--
--@src/devices/machine/cxd1185.h,MACHINES["CXD1185"] = true
---------------------------------------------------
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index dc0a1a93f07..3b98b9095ce 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1568,6 +1568,18 @@ end
---------------------------------------------------
--
+--@src/devices/sound/s_dsp.h,SOUNDS["S_DSP"] = true
+---------------------------------------------------
+
+if (SOUNDS["S_DSP"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/s_dsp.cpp",
+ MAME_DIR .. "src/devices/sound/s_dsp.h",
+ }
+end
+
+---------------------------------------------------
+--
--@src/devices/sound/ks0164.h,SOUNDS["KS0164"] = true
---------------------------------------------------