mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 19:19:16 +01:00
Merge pull request #855 from bnnm/ogg
- Fix broken loops in Astronauts .ogg - Add HCA keys
This commit is contained in:
commit
83fdf34a4a
@ -624,6 +624,18 @@ static const hcakey_info hcakey_list[] = {
|
||||
{0x1980271cfe0da9bd},
|
||||
{0x945cdb3cf1f29e52},
|
||||
{0x7f0feac6be7def5b},
|
||||
{0xe35d52b6d2c094fb},
|
||||
{0xd45e8ba374b45ff7},
|
||||
{0x09e68da734cc472f},
|
||||
{0xfc3fa77fc33460d4},
|
||||
{0xa2c543b227b8e5e2},
|
||||
{0xe6d1fd6effa46736},
|
||||
{0x75859a7a2b1ed37d},
|
||||
{0x358adfd1bbd3a95e},
|
||||
{0xc86f8564e0b9078c},
|
||||
{0x2e107d849959c430},
|
||||
{0xb96786621e27daf3},
|
||||
{0x1111d6c10e509824},
|
||||
|
||||
/* Dragalia Lost (iOS/Android) */
|
||||
{2967411924141, subkeys_dgl, sizeof(subkeys_dgl) / sizeof(subkeys_dgl[0]) }, // 000002B2E7889CAD
|
||||
|
@ -472,7 +472,7 @@ VGMSTREAM* init_vgmstream_ogg_vorbis_callbacks(STREAMFILE* sf, ov_callbacks* cal
|
||||
strstr(comment,"LOOP_BEGIN=") == comment || /* Hatsune Miku: Project Diva F (PS3) */
|
||||
strstr(comment,"LoopStart=") == comment || /* Devil May Cry 4 (PC) */
|
||||
strstr(comment,"LOOP=") == comment || /* Duke Nukem 3D: 20th Anniversary World Tour */
|
||||
strstr(comment,"XIPH_CUE_LOOPSTART=") == comment) { /* Super Mario Run (Android) */
|
||||
strstr(comment,"XIPH_CUE_LOOPSTART=") == comment) { /* DeNa games [Super Mario Run (Android), FF Record Keeper (Android)] */
|
||||
loop_start = atol(strrchr(comment,'=')+1);
|
||||
loop_flag = (loop_start >= 0);
|
||||
}
|
||||
@ -546,7 +546,7 @@ VGMSTREAM* init_vgmstream_ogg_vorbis_callbacks(STREAMFILE* sf, ov_callbacks* cal
|
||||
}
|
||||
else if (strstr(comment,"COMMENT=- loopTime ") == comment || /* Aristear Remain (PC) */
|
||||
strstr(comment,"COMMENT=-loopTime ") == comment) { /* Hyakki Ryouran no Yakata x Kawarazaki-ke no Ichizoku (PC) */
|
||||
loop_start = atol(strrchr(comment,'l')) / 1000.0f * sample_rate; /* ms to samples */
|
||||
loop_start = atol(strrchr(comment,' ')) / 1000.0f * sample_rate; /* ms to samples */
|
||||
loop_flag = (loop_start >= 0);
|
||||
|
||||
/* files have all page granule positions -1 except a few close to loop. This throws off
|
||||
|
Loading…
x
Reference in New Issue
Block a user