mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 15:00:11 +01:00
Update channel count detection for PS3 SGH/SGB
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@938 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
f68125a041
commit
75ef3919ff
@ -25,7 +25,7 @@ VGMSTREAM * init_vgmstream_ps3_sgh_sgb(STREAMFILE *streamFile) {
|
||||
if (read_32bitBE(0x00,streamFileSGH) != 0x53475844) /* "SGXD" */
|
||||
goto fail;
|
||||
|
||||
channel_count = read_32bitLE(0x6C,streamFileSGH);
|
||||
channel_count = read_8bit(0x29,streamFileSGH);
|
||||
if (read_32bitBE(0x44,streamFileSGH)==0xFFFFFFFF)
|
||||
loop_flag = 0;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user