summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2016-08-10 13:05:14 +0300
committer Curt Coder <curtcoder@mail.com>2016-08-10 13:05:14 +0300
commit8bf6e9ebb59cc01b7db3c573977120c43c6dbd5e (patch)
tree0b87fcfb269caa416998f4ae2e7f1850fd528769 /scripts
parentd37c65b787b67fe98ae209cf68de5458d0ab549f (diff)
pofo: Added skeleton for PCD3311T sound chip. (nw)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/sound.lua13
-rw-r--r--scripts/target/mame/mess.lua2
2 files changed, 15 insertions, 0 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index bf1e87ebc7e..30d049c72e1 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1352,6 +1352,7 @@ if (SOUNDS["UPD1771"]~=null) then
MAME_DIR .. "src/devices/sound/upd1771.h",
}
end
+
---------------------------------------------------
-- GB_SOUND
--@src/devices/sound/gb.h,SOUNDS["GB_SOUND"] = true
@@ -1363,3 +1364,15 @@ if (SOUNDS["GB_SOUND"]~=null) then
MAME_DIR .. "src/devices/sound/gb.h",
}
end
+
+---------------------------------------------------
+-- PCD3311
+--@src/devices/sound/gb.h,SOUNDS["PCD3311"] = true
+---------------------------------------------------
+
+if (SOUNDS["PCD3311"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/pcd3311.cpp",
+ MAME_DIR .. "src/devices/sound/pcd3311.h",
+ }
+end
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index e78baadfdc6..3554b86e213 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -260,6 +260,8 @@ SOUNDS["ESQPUMP"] = true
SOUNDS["VRC6"] = true
SOUNDS["UPD1771"] = true
SOUNDS["GB_SOUND"] = true
+SOUNDS["PCD3311"] = true
+
--------------------------------------------------
-- specify available video cores
--------------------------------------------------