Fixed one case of PS2 MIB interleave detection
parent
10316cfd06
commit
91b60e158a
|
@ -91,8 +91,6 @@ VGMSTREAM * init_vgmstream_ps2_mib(STREAMFILE *streamFile) {
|
|||
fileLength = get_streamfile_size(streamFile);
|
||||
|
||||
readOffset+=(off_t)read_streamfile(mibBuffer,0,0x10,streamFile);
|
||||
readOffset=0;
|
||||
mibBuffer[0]=0;
|
||||
|
||||
do {
|
||||
readOffset+=(off_t)read_streamfile(testBuffer,readOffset,0x10,streamFile);
|
||||
|
@ -108,7 +106,6 @@ VGMSTREAM * init_vgmstream_ps2_mib(STREAMFILE *streamFile) {
|
|||
bDoUpdateInterleave=1;
|
||||
}
|
||||
|
||||
testBuffer[0]=0;
|
||||
if(!memcmp(testBuffer,mibBuffer,0x10)) {
|
||||
|
||||
gotEmptyLine=1;
|
||||
|
|
Loading…
Reference in New Issue