mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
KTSS fixes
This commit is contained in:
parent
a24f1c0337
commit
e6208351d4
@ -15,7 +15,7 @@ VGMSTREAM * init_vgmstream_ktss(STREAMFILE *streamFile) {
|
||||
if (read_32bitBE(0, streamFile) != 0x4B545353) /* "KTSS" */
|
||||
goto fail;
|
||||
|
||||
codec_id = read_32bitLE(0x20, streamFile);
|
||||
codec_id = read_8bit(0x20, streamFile);
|
||||
loop_length = read_32bitLE(0x38, streamFile);
|
||||
loop_flag = loop_length > 0;
|
||||
|
||||
@ -75,6 +75,10 @@ VGMSTREAM * init_vgmstream_ktss(STREAMFILE *streamFile) {
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case default:
|
||||
goto fail;
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user