sps_n1: init_vgmstream_ogg_vorbis is available when VGM_USE_VORBIS=ON

This commit is contained in:
Julian Xhokaxhiu 2020-11-12 20:11:55 +01:00
parent f2b15ed366
commit d55397242c

View File

@ -92,10 +92,12 @@ VGMSTREAM* init_vgmstream_sps_n1_segmented(STREAMFILE* sf) {
/* 0x0c: num_samples (slightly smaller than added samples?) */
switch(type) {
#ifdef VGM_USE_VORBIS
case 7:
init_vgmstream_subfile = init_vgmstream_ogg_vorbis;
extension = "ogg";
break;
#endif
case 9:
init_vgmstream_subfile = init_vgmstream_opus_std;