summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-04-07 18:15:07 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-04-07 18:15:07 +0200
commitdff2f2517af81adc78c3e5266d5fb2ad2a1eb0d2 (patch)
tree6a97a89a4198b6d7b6ac40ec2fb24196729072be
parent45e57899d326146082bfa0d71881e870c4d054fa (diff)
separate mpeg audio as device, made building separate model3 possible (nw)
-rw-r--r--scripts/src/sound.lua10
-rw-r--r--scripts/target/mame/arcade.lua1
-rw-r--r--scripts/target/mame/mess.lua1
3 files changed, 12 insertions, 0 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index 428974c23df..03859da4e0a 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1285,6 +1285,16 @@ if (SOUNDS["YMZ770"]~=null) then
files {
MAME_DIR .. "src/devices/sound/ymz770.cpp",
MAME_DIR .. "src/devices/sound/ymz770.h",
+ }
+end
+
+---------------------------------------------------
+-- MPEG AUDIO
+--@src/devices/sound/mpeg_audio.h,SOUNDS["MPEG_AUDIO"] = true
+---------------------------------------------------
+
+if (SOUNDS["MPEG_AUDIO"]~=null) then
+ files {
MAME_DIR .. "src/devices/sound/mpeg_audio.cpp",
MAME_DIR .. "src/devices/sound/mpeg_audio.h",
}
diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua
index bee0b5afa39..f67e069028a 100644
--- a/scripts/target/mame/arcade.lua
+++ b/scripts/target/mame/arcade.lua
@@ -249,6 +249,7 @@ SOUNDS["TMS5110A"] = true
SOUNDS["LMC1992"] = true
SOUNDS["AWACS"] = true
SOUNDS["YMZ770"] = true
+SOUNDS["MPEG_AUDIO"] = true
SOUNDS["T6721A"] = true
SOUNDS["MOS7360"] = true
--SOUNDS["ESQPUMP"] = true
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index cc5721040d7..39ab656cf0b 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -251,6 +251,7 @@ SOUNDS["TMS5110A"] = true
SOUNDS["LMC1992"] = true
SOUNDS["AWACS"] = true
--SOUNDS["YMZ770"] = true
+--SOUNDS["MPEG_AUDIO"] = true
SOUNDS["T6721A"] = true
SOUNDS["MOS7360"] = true
SOUNDS["ESQPUMP"] = true