mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 06:50:20 +01:00
Fix some ADM3 [Cyberpunk 2077 (PC)]
This commit is contained in:
parent
aa22b1c86e
commit
65a0502d86
@ -213,8 +213,10 @@ static int parse_adm(adm_header_t* adm, STREAMFILE* sf) {
|
||||
|
||||
/* idle engine */
|
||||
offset = read_u32le(0x10c, sf);
|
||||
if (!parse_type(adm, sf, offset)) goto fail; /* SMP2 */
|
||||
if (read_u32le(0x110, sf) != 1) goto fail;
|
||||
if (offset != 0) { /* may not exist */
|
||||
if (!parse_type(adm, sf, offset)) goto fail; /* SMP2 */
|
||||
if (read_u32le(0x110, sf) != 1) goto fail;
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user