summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author David Haywood <mamehaze@gmail.com>2019-03-14 11:35:19 +0000
committer Robert <Robbbert@users.noreply.github.com>2019-03-14 22:35:19 +1100
commitcb60e245dcf3830669c44b240e40f60580625cc6 (patch)
tree8fda38bf52b2ba27810e1e9cff53aa8cba301d71 /scripts
parent3b021c3a538a59aa24ec43aa71722940b4adc54b (diff)
SPG2XX - Make audio emulation a subdevice (#4757)
* SPG2XX - Make audio emulation a subdevice (I need to reuse some of it for SPG110) * these will end up in different places on spg110 so split the handler (nw) * refactor a little for cleaner use later (nw) * realign logging with function names (nw) * (nw) * (nw) * recent change in audio_beat_tick appears to break "icanpian jjs" seems unintentional? (MG please verify) also documented an existing suspicious use of 'channel' in code. * use channel_bit here instead, seems more logical (nw) * reorganize code here a bit too (nw)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/machine.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index edf745c67d3..54810e56038 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -2622,6 +2622,8 @@ if (MACHINES["SPG2XX"]~=null) then
files {
MAME_DIR .. "src/devices/machine/spg2xx.cpp",
MAME_DIR .. "src/devices/machine/spg2xx.h",
+ MAME_DIR .. "src/devices/machine/spg2xx_audio.cpp",
+ MAME_DIR .. "src/devices/machine/spg2xx_audio.h",
MAME_DIR .. "src/devices/machine/spg110.cpp",
MAME_DIR .. "src/devices/machine/spg110.h",
}