From fb2b5745d1d0e76ab9cb8c8418b0a9fe95330074 Mon Sep 17 00:00:00 2001 From: 987123879113 <63495610+987123879113@users.noreply.github.com> Date: Mon, 15 May 2023 13:38:30 +0900 Subject: namco/namcos10.cpp: Add MP3 decoder support to the MEM(P3) board. (#11210) * 3rdparty/minimp3: Update to latest source (afb604c06bc8beb145fecd42c0ceb5bda8795144). * sound/mp3_audio.cpp: Add helper class to decode MP3 frame data, abstracting away minimp3 from devices. * sound/lc82310.cpp: Added basic Sanyo LC82310 MP3 decoder emulation. * namco/namcos10.cpp: Fixed light gun inputs for Golgo 13: Juusei no Requiem. Systems promoted to working ------------------ Golgo 13: Juusei no Requiem (Japan, GLT1 VER.A) Tsukkomi Yousei Gips Nice Tsukkomi (NTK1 Ver.A) Seishun-Quiz Colorful High School (CHS1 Ver.A) --- scripts/src/sound.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'scripts/src') diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua index 09f2c24e81d..08f421cf056 100644 --- a/scripts/src/sound.lua +++ b/scripts/src/sound.lua @@ -1286,6 +1286,18 @@ if (SOUNDS["MULTIPCM"]~=null) then } end +--------------------------------------------------- +-- MP3 AUDIO +--@src/devices/sound/mp3_audio.h,SOUNDS["MP3_AUDIO"] = true +--------------------------------------------------- + +if (SOUNDS["MP3_AUDIO"]~=null) then + files { + MAME_DIR .. "src/devices/sound/mp3_audio.cpp", + MAME_DIR .. "src/devices/sound/mp3_audio.h", + } +end + --------------------------------------------------- -- MPEG AUDIO --@src/devices/sound/mpeg_audio.h,SOUNDS["MPEG_AUDIO"] = true @@ -1429,6 +1441,18 @@ if (SOUNDS["LC7535"]~=null) then } end +--------------------------------------------------- +-- Sanyo LC82310 +--@src/devices/sound/lc82310.h,SOUNDS["LC82310"] = true +--------------------------------------------------- + +if (SOUNDS["LC82310"]~=null) then + files { + MAME_DIR .. "src/devices/sound/lc82310.cpp", + MAME_DIR .. "src/devices/sound/lc82310.h", + } +end + --------------------------------------------------- -- NEC uPD934G --@src/devices/sound/upd934g.h,SOUNDS["UPD934G"] = true -- cgit v1.2.3-70-g09d2