diff --git a/Frameworks/vgmstream/vgmstream/src/meta/ps2_mib.c b/Frameworks/vgmstream/vgmstream/src/meta/ps2_mib.c index 3e4fff1f8..a461fb7eb 100644 --- a/Frameworks/vgmstream/vgmstream/src/meta/ps2_mib.c +++ b/Frameworks/vgmstream/vgmstream/src/meta/ps2_mib.c @@ -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;