summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/sound.lua
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2025-03-31 04:53:31 +0900
committer GitHub <noreply@github.com>2025-03-30 15:53:31 -0400
commit3fb2594c997f4a1d85ba22046bc28af0816f1319 (patch)
tree3ace880c4a844772eae9a4affb71450695bc814a /scripts/src/sound.lua
parent44b8ae58c670af6d19498a47865ca76919cd0e1f (diff)
devices/sound/mmc5.cpp: Implement MMC5 sound emulation (#13487)
* Implement MMC5 sound emulation - Heavily based from devices/sound/nes_apu.cpp, Adjusted to differences compares to NES APU and MMC5. * bus/nes/mmc5,cpp: Fix save state support, Implement MMC5 sound * bus/nes/nes_slot.h: Fix save state support * sound/nes_defs.h: Fix save state support
Diffstat (limited to 'scripts/src/sound.lua')
-rw-r--r--scripts/src/sound.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index fe2322a5bcc..22996ed36b0 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1776,3 +1776,15 @@ if (SOUNDS["GT155"]~=null) then
MAME_DIR .. "src/devices/sound/gt155.h",
}
end
+
+---------------------------------------------------
+-- Nintendo MMC5 Sound
+--@src/devices/sound/mmc5.h,SOUNDS["MMC5"] = true
+---------------------------------------------------
+
+if (SOUNDS["MMC5"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/sound/mmc5.cpp",
+ MAME_DIR .. "src/devices/sound/mmc5.h",
+ }
+end