mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Add type 3 GCM/IDSP variant for Lego LOTR (Wii)
This commit is contained in:
parent
037ba2e2d1
commit
d09ac8fdae
@ -1214,6 +1214,7 @@ fail:
|
||||
Lego Indiana Jones - The Original Adventures (Wii)
|
||||
Lego Indiana Jones 2 - The Adventure Continues (Wii)
|
||||
Lego Star Wars - The Complete Saga (Wii)
|
||||
Lego The Lord of the Rings (Wii)
|
||||
The Chronicles of Narnia - Prince Caspian (Wii) */
|
||||
VGMSTREAM * init_vgmstream_wii_idsp(STREAMFILE *streamFile) {
|
||||
VGMSTREAM * vgmstream = NULL;
|
||||
@ -1247,6 +1248,14 @@ VGMSTREAM * init_vgmstream_wii_idsp(STREAMFILE *streamFile) {
|
||||
if (read_dsp_header(&ch0_header, 0x20, streamFile)) goto fail;
|
||||
if (read_dsp_header(&ch1_header, 0x80, streamFile)) goto fail;
|
||||
|
||||
start_offset = 0xe0;
|
||||
}
|
||||
else if (read_32bitBE(0x4, streamFile) == 3 && //Lego The Lord of the Rings (Wii)
|
||||
read_32bitBE(0x8, streamFile) == 0x12c)
|
||||
{
|
||||
if (read_dsp_header(&ch0_header, 0x20, streamFile)) goto fail;
|
||||
if (read_dsp_header(&ch1_header, 0x80, streamFile)) goto fail;
|
||||
|
||||
start_offset = 0xe0;
|
||||
}
|
||||
else goto fail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user