Merge pull request #1072 from NicknineTheEagle/wbk

NSLB: Fixed PS2 banks
This commit is contained in:
NicknineTheEagle 2022-02-05 19:55:34 +03:00 committed by GitHub
commit cbe3165f69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,7 @@ VGMSTREAM* init_vgmstream_wbk_nslb(STREAMFILE* sf) {
goto fail; goto fail;
/* always little endian, even on PS3/X360 */ /* always little endian, even on PS3/X360 */
if (read_u32le(0x04, sf) != 0x01) if (read_u16le(0x04, sf) != 0x01)
goto fail; goto fail;
total_subsongs = read_u32le(0x10, sf); total_subsongs = read_u32le(0x10, sf);