From 80a48d5229eb5ff62b4f27ec6351226b672c0030 Mon Sep 17 00:00:00 2001 From: cam900 Date: Sat, 30 Mar 2019 06:57:27 +0900 Subject: Add Namco 163 sound emulation (#4814) * Add Namco 163 sound emulation * namco_163.cpp : Typo * namco_163.cpp : Fix spacing * namco_163.h : Fix comment (nw) * namco_163.cpp : Correct update behavior device/bus/nes/namcot.* : Remove / Fix outdated comments * namco_163.cpp : Remove unnecessary value (nw) * namco_163.cpp : Add notes (nw) * namco_163.cpp : inline'd sample function, Minor fix * namco_163.cpp : Fix notes --- scripts/src/sound.lua | 8 ++++++++ scripts/target/mame/arcade.lua | 1 + scripts/target/mame/mess.lua | 1 + 3 files changed, 10 insertions(+) (limited to 'scripts') diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua index f2d6c9b979d..73c6a852e44 100644 --- a/scripts/src/sound.lua +++ b/scripts/src/sound.lua @@ -590,6 +590,7 @@ end --------------------------------------------------- -- Namco custom sound chips --@src/devices/sound/namco.h,SOUNDS["NAMCO"] = true +--@src/devices/sound/namco_163.h,SOUNDS["NAMCO_163"] = true --@src/devices/sound/n63701x.h,SOUNDS["NAMCO_63701X"] = true --@src/devices/sound/c140.h,SOUNDS["C140"] = true --@src/devices/sound/c352.h,SOUNDS["C352"] = true @@ -602,6 +603,13 @@ if (SOUNDS["NAMCO"]~=null or SOUNDS["NAMCO_15XX"]~=null or SOUNDS["NAMCO_CUS30"] } end +if (SOUNDS["NAMCO_163"]~=null) then + files { + MAME_DIR .. "src/devices/sound/namco_163.cpp", + MAME_DIR .. "src/devices/sound/namco_163.h", + } +end + if (SOUNDS["NAMCO_63701X"]~=null) then files { MAME_DIR .. "src/devices/sound/n63701x.cpp", diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index 40ef9fc3e16..b80506d399c 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -173,6 +173,7 @@ SOUNDS["NAMCO_15XX"] = true SOUNDS["NAMCO_CUS30"] = true SOUNDS["NAMCO_52XX"] = true SOUNDS["NAMCO_63701X"] = true +--SOUNDS["NAMCO_163"] = true SOUNDS["T6W28"] = true SOUNDS["SNKWAVE"] = true SOUNDS["C140"] = true diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index 9d42bd1aa43..036b63c330b 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -181,6 +181,7 @@ SOUNDS["ASTROCADE"] = true --SOUNDS["NAMCO_CUS30"] = true --SOUNDS["NAMCO_52XX"] = true --SOUNDS["NAMCO_63701X"] = true +SOUNDS["NAMCO_163"] = true SOUNDS["T6W28"] = true --SOUNDS["SNKWAVE"] = true --SOUNDS["C140"] = true -- cgit v1.2.3