rename ps2_ild.c to ild.c

This commit is contained in:
bnnm 2023-06-25 16:20:15 +02:00
parent d18e9b5b35
commit aa0d5bf9df
3 changed files with 6 additions and 6 deletions

View File

@ -446,6 +446,7 @@
<ClCompile Include="meta\idtech.c" />
<ClCompile Include="meta\ifs.c" />
<ClCompile Include="meta\ikm.c" />
<ClCompile Include="meta\ild.c" />
<ClCompile Include="meta\ima.c" />
<ClCompile Include="meta\imc.c" />
<ClCompile Include="meta\imuse.c" />
@ -555,7 +556,6 @@
<ClCompile Include="meta\ps2_hgc1.c" />
<ClCompile Include="meta\ps2_hsf.c" />
<ClCompile Include="meta\ps2_iab.c" />
<ClCompile Include="meta\ps2_ild.c" />
<ClCompile Include="meta\ps2_joe.c" />
<ClCompile Include="meta\ps2_kces.c" />
<ClCompile Include="meta\ps2_leg.c" />

View File

@ -1159,6 +1159,9 @@
<ClCompile Include="meta\ikm.c">
<Filter>meta\Source Files</Filter>
</ClCompile>
<ClCompile Include="meta\ild.c">
<Filter>meta\Source Files</Filter>
</ClCompile>
<ClCompile Include="meta\ima.c">
<Filter>meta\Source Files</Filter>
</ClCompile>
@ -1486,9 +1489,6 @@
<ClCompile Include="meta\ps2_iab.c">
<Filter>meta\Source Files</Filter>
</ClCompile>
<ClCompile Include="meta\ps2_ild.c">
<Filter>meta\Source Files</Filter>
</ClCompile>
<ClCompile Include="meta\ps2_joe.c">
<Filter>meta\Source Files</Filter>
</ClCompile>

View File

@ -10,10 +10,10 @@ VGMSTREAM* init_vgmstream_ild(STREAMFILE* sf) {
/* check ILD Header */
if (!is_id32be(0x00,sf, "ILD\0"))
goto fail;
return NULL;
if (!check_extensions(sf, "ild"))
goto fail;
return NULL;
channels = read_u32le(0x04,sf); /* tracks (seen 2 and 4) */
start_offset = read_u32le(0x08,sf);