From 6aef7adadd20a4fe351692fc899c8879b11ec42b Mon Sep 17 00:00:00 2001 From: cam900 Date: Sat, 4 Apr 2020 21:59:50 +0900 Subject: 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 --- scripts/src/machine.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'scripts/src/machine.lua') 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 @@ -4269,6 +4269,18 @@ if (MACHINES["I3002"]~=null) then } 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 -- cgit v1.2.3-70-g09d2