From e4ed26e703237ac891dbc02cd1ac3ef7a120f374 Mon Sep 17 00:00:00 2001 From: bnnm Date: Sat, 15 Aug 2020 20:03:32 +0200 Subject: [PATCH] Use silence meta for dummy entries in BKHD --- src/meta/bkhd.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/meta/bkhd.c b/src/meta/bkhd.c index 061adfb0..2eceef97 100644 --- a/src/meta/bkhd.c +++ b/src/meta/bkhd.c @@ -115,11 +115,7 @@ VGMSTREAM* init_vgmstream_bkhd(STREAMFILE* sf) { if (is_dummy || is_wmid) { /* for now leave a dummy song for easier .bnk index-to-subsong mapping */ - temp_sf = setup_subfile_streamfile(sf, 0x00, 1000 * 0x02 * 2, "raw"); - if (!temp_sf) goto fail; - - //todo make some better silent entry - vgmstream = init_vgmstream_raw_pcm(temp_sf); + vgmstream = init_vgmstream_silence(0, 0, 0); if (!vgmstream) goto fail; } else {