From fb0beb0f178140d61b6f74635f3f53f6fdbd7ed8 Mon Sep 17 00:00:00 2001 From: Hexagon123 <112926080+Hexagon123@users.noreply.github.com> Date: Tue, 6 Sep 2022 01:28:25 -0500 Subject: [PATCH] Update ngc_dsp_std.c --- src/meta/ngc_dsp_std.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/meta/ngc_dsp_std.c b/src/meta/ngc_dsp_std.c index 2d6f728b..1b22b249 100644 --- a/src/meta/ngc_dsp_std.c +++ b/src/meta/ngc_dsp_std.c @@ -572,13 +572,14 @@ fail: return NULL; } -/* .(mp)dsp - single header + interleaved dsp [Monopoly Party! (GC)] */ +/* .STE - single header + interleaved dsp [Monopoly Party! (GC)] */ VGMSTREAM* init_vgmstream_ngc_mpdsp(STREAMFILE* sf) { dsp_meta dspm = {0}; /* checks */ - /* .mpdsp: renamed since standard .dsp would catch it otherwise */ - if (!check_extensions(sf, "mpdsp")) + /* .STE: real extension */ + /* .mpdsp: fake/renamed since standard .dsp would catch it otherwise */ + if (!check_extensions(sf, "mpdsp,ste")) goto fail; /* at 0x48 is extra data that could help differenciating these DSPs, but seems like @@ -757,7 +758,7 @@ fail: return NULL; } -/* IDSP - from Next Level games [Super Mario Strikers (GC), Mario Strikers: Charged (Wii)] */ +/* IDSP - from Next Level games [Super Mario Strikers (GC), Spider-Man: Friend or Foe (Wii)] */ VGMSTREAM* init_vgmstream_idsp_nl(STREAMFILE* sf) { dsp_meta dspm = {0}; @@ -826,7 +827,10 @@ VGMSTREAM* init_vgmstream_dsp_ddsp(STREAMFILE* sf) { dsp_meta dspm = {0}; /* checks */ - if (!check_extensions(sf, "ddsp")) + /* .ddsp: assumed? + * .wav/lwav: Wacky Races + * .adp: The Tale of Despereaux */ + if (!check_extensions(sf, "ddsp,adp,wav,lwav")) goto fail; dspm.channels = 2;