From c4206e705b32c77edb712e64aeced3694138b6f0 Mon Sep 17 00:00:00 2001 From: bnnm Date: Sat, 11 Aug 2018 17:54:42 +0200 Subject: [PATCH] Fix some .bgw negative samples [Final Fantasy XI (PC)] --- src/meta/bgw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/bgw.c b/src/meta/bgw.c index 601d7cbd..4ba1acbf 100644 --- a/src/meta/bgw.c +++ b/src/meta/bgw.c @@ -35,7 +35,7 @@ VGMSTREAM * init_vgmstream_bgw(STREAMFILE *streamFile) { /*0x2c: unk (vol?) */ /*0x2d: unk (0x10?) */ channel_count = read_8bit(0x2e,streamFile); - block_align = read_8bit(0x2f,streamFile); + block_align = (uint8_t)read_8bit(0x2f,streamFile); if (file_size != get_streamfile_size(streamFile)) goto fail;