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:
snakemeat 2011-04-02 01:39:29 +00:00
parent f68125a041
commit 75ef3919ff

View File

@ -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