mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 16:30:54 +01:00
commit
0d935c2197
@ -23,7 +23,7 @@
|
||||
#define EA_PLATFORM_X360 0x09
|
||||
#define EA_PLATFORM_PSP 0x0A
|
||||
#define EA_PLATFORM_PS3 0x0E /* very rare [Need for Speed: Carbon (PS3)] */
|
||||
#define EA_PLATFORM_WII 0x10
|
||||
#define EA_PLATFORM_WII 0x10 /* not seen so far */
|
||||
#define EA_PLATFORM_3DS 0x14
|
||||
|
||||
/* codec constants (undefined are probably reserved, ie.- sx.exe encodes PCM24/DVI but no platform decodes them) */
|
||||
|
@ -537,11 +537,13 @@ VGMSTREAM* init_vgmstream_riff(STREAMFILE* sf) {
|
||||
break;
|
||||
|
||||
case 0x63756520: /* "cue " (used in Source Engine for storing loop points) */
|
||||
if (fmt.coding_type == coding_PCM16LE || fmt.coding_type == coding_MSADPCM) {
|
||||
if (fmt.coding_type == coding_PCM8_U ||
|
||||
fmt.coding_type == coding_PCM16LE ||
|
||||
fmt.coding_type == coding_MSADPCM) {
|
||||
uint32_t num_cues = read_32bitLE(current_chunk + 0x08, sf);
|
||||
|
||||
if (num_cues > 0) {
|
||||
/* The second cue sets loop end point but it's not actually used by the engine. */
|
||||
/* the second cue sets loop end point but it's not actually used by the engine */
|
||||
loop_flag = 1;
|
||||
loop_start_cue = read_32bitLE(current_chunk + 0x20, sf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user