mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-20 20:41:08 +01:00
Compiler warnings
This commit is contained in:
parent
d7bd19cc6d
commit
4afa42bee6
@ -4,7 +4,7 @@
|
||||
/* FWSE - Capcom's MT Framework V1.x sound file */
|
||||
VGMSTREAM *init_vgmstream_fwse(STREAMFILE *streamFile) {
|
||||
VGMSTREAM *vgmstream = NULL;
|
||||
uint32_t version, file_size, buffer_offset,
|
||||
uint32_t version, /*file_size,*/ buffer_offset,
|
||||
channel_count, sample_count, sample_rate;
|
||||
|
||||
if (!check_extensions(streamFile,"fwse"))
|
||||
@ -18,7 +18,7 @@ VGMSTREAM *init_vgmstream_fwse(STREAMFILE *streamFile) {
|
||||
if (version != 2)
|
||||
goto fail;
|
||||
|
||||
file_size = read_32bitLE(0x08,streamFile);
|
||||
//file_size = read_32bitLE(0x08,streamFile);
|
||||
buffer_offset = read_32bitLE(0x0C,streamFile);
|
||||
channel_count = read_32bitLE(0x10,streamFile);
|
||||
|
||||
|
@ -237,6 +237,7 @@ VGMSTREAM * init_vgmstream_vag(STREAMFILE *streamFile) {
|
||||
start_offset = 0x800;
|
||||
channel_count = 2;
|
||||
interleave = 0x400;
|
||||
loop_flag = 0;
|
||||
|
||||
channel_size -= ps_find_padding(streamFile, start_offset, channel_size, channel_count, interleave, 0);
|
||||
channel_size = channel_size / channel_count;
|
||||
|
Loading…
x
Reference in New Issue
Block a user