From c145512f377c178ae8e3fbf7899ea25b23393a54 Mon Sep 17 00:00:00 2001 From: grj1234 Date: Fri, 22 Oct 2021 05:44:04 +0900 Subject: [PATCH] Add .nsa extension as RIFF WAWE [Hajimete no Otetsudai (PC)] --- src/formats.c | 1 + src/meta/riff.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/formats.c b/src/formats.c index b3e36db3..b756f0c3 100644 --- a/src/formats.c +++ b/src/formats.c @@ -362,6 +362,7 @@ static const char* extension_list[] = { "nop", "nps", "npsf", //fake extension/header id for .nps (in bigfiles) + "nsa", "nsopus", "nub", "nub2", diff --git a/src/meta/riff.c b/src/meta/riff.c index 5e9a4db7..86232ed3 100644 --- a/src/meta/riff.c +++ b/src/meta/riff.c @@ -353,8 +353,9 @@ VGMSTREAM* init_vgmstream_riff(STREAMFILE* sf) { * .saf: Whacked! (Xbox) * .mwv: Level-5 games [Dragon Quest VIII (PS2), Rogue Galaxy (PS2)] * .ima: Baja: Edge of Control (PS3/X360) + * .nsa: Studio Ring games that uses NScripter [Hajimete no Otetsudai (PC)] */ - if ( check_extensions(sf, "wav,lwav,xwav,da,dax,cd,med,snd,adx,adp,xss,xsew,adpcm,adw,wd,,sbv,wvx,str,at3,rws,aud,at9,saf,ima") ) { + if ( check_extensions(sf, "wav,lwav,xwav,da,dax,cd,med,snd,adx,adp,xss,xsew,adpcm,adw,wd,,sbv,wvx,str,at3,rws,aud,at9,saf,ima,nsa") ) { ; } else if ( check_extensions(sf, "mwv") ) {