mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
PS2 ADS, forgot to add hex specifier in a calculation.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@800 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
b17c0b867e
commit
432897d1a2
@ -119,7 +119,7 @@ VGMSTREAM * init_vgmstream_ps2_ads(STREAMFILE *streamFile) {
|
||||
if ((streamSize * 2) == (get_streamfile_size(streamFile) - 0x18))
|
||||
{
|
||||
// True Fortune PS2
|
||||
streamSize = (read_32bitLE(0x24,streamFile) * 2) - 10;
|
||||
streamSize = (read_32bitLE(0x24,streamFile) * 2) - 0x10;
|
||||
vgmstream->num_samples = streamSize / 16 * 28 / vgmstream->channels;
|
||||
}
|
||||
else if(get_streamfile_size(streamFile) - read_32bitLE(0x24,streamFile) >= 0x800)
|
||||
|
Loading…
Reference in New Issue
Block a user