mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Fix .awc with codec 0 [Max Payne 3 (PC)]
This commit is contained in:
parent
987641d866
commit
1f534f88d4
@ -51,7 +51,8 @@ VGMSTREAM * init_vgmstream_awc(STREAMFILE *streamFile) {
|
||||
|
||||
|
||||
switch(awc.codec) {
|
||||
case 0x01: /* PCM (PC/PS3) [sfx, rarely] */
|
||||
case 0x00: /* PCM (PC) sfx, very rare, lower sample rates? [Max Payne 3 (PC)] */
|
||||
case 0x01: /* PCM (PC/PS3) sfx, rarely */
|
||||
if (awc.is_music) goto fail; /* blocked_awc needs to be prepared */
|
||||
vgmstream->coding_type = awc.big_endian ? coding_PCM16BE : coding_PCM16LE;
|
||||
vgmstream->layout_type = layout_interleave;
|
||||
|
Loading…
x
Reference in New Issue
Block a user