summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--scripts/src/sound.lua12
-rw-r--r--scripts/target/mame/arcade.lua1
-rw-r--r--scripts/target/mame/mess.lua4
3 files changed, 14 insertions, 3 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index 17f9c6aa2b2..c9291ffa8bb 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1343,3 +1343,15 @@ if (SOUNDS["AD1848"]~=null) then
MAME_DIR .. "src/devices/sound/ad1848.h",
}
end
+
+---------------------------------------------------
+-- UPD1771
+--@src/devices/sound/upd1771.h,SOUNDS["UPD1771"] = true
+---------------------------------------------------
+
+if (SOUNDS["UPD1771"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/upd1771.cpp",
+ MAME_DIR .. "src/devices/sound/upd1771.h",
+ }
+end
diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua
index ce92d56737f..d4bf097bcda 100644
--- a/scripts/target/mame/arcade.lua
+++ b/scripts/target/mame/arcade.lua
@@ -260,6 +260,7 @@ SOUNDS["AC97"] = true
SOUNDS["ES1373"] = true
SOUNDS["L7A1045"] = true
SOUNDS["AD1848"] = true
+--SOUNDS["UPD1771"] = true
--------------------------------------------------
-- specify available video cores
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index 162d488c80b..bee6b214f6d 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -257,7 +257,7 @@ SOUNDS["T6721A"] = true
SOUNDS["MOS7360"] = true
SOUNDS["ESQPUMP"] = true
SOUNDS["VRC6"] = true
-
+SOUNDS["UPD1771"] = true
--------------------------------------------------
-- specify available video cores
--------------------------------------------------
@@ -1678,8 +1678,6 @@ files {
MAME_DIR .. "src/mame/includes/gamepock.h",
MAME_DIR .. "src/mame/machine/gamepock.cpp",
MAME_DIR .. "src/mame/drivers/scv.cpp",
- MAME_DIR .. "src/devices/sound/upd1771.cpp",
- MAME_DIR .. "src/devices/sound/upd1771.h",
}
createMESSProjects(_target, _subtarget, "epson")