mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 23:10:10 +01:00
PSO4 has both loop_start and LOOP_START
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@245 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
ff58d22b78
commit
db2bdafe00
@ -142,7 +142,10 @@ VGMSTREAM * init_vgmstream_ogg_vorbis(STREAMFILE *streamFile) {
|
|||||||
/* search for a "loop_start" comment */
|
/* search for a "loop_start" comment */
|
||||||
for (i=0;i<comment->comments;i++) {
|
for (i=0;i<comment->comments;i++) {
|
||||||
if (strstr(comment->user_comments[i],"loop_start=")==
|
if (strstr(comment->user_comments[i],"loop_start=")==
|
||||||
comment->user_comments[i]) {
|
comment->user_comments[i] ||
|
||||||
|
strstr(comment->user_comments[i],"LOOP_START=")==
|
||||||
|
comment->user_comments[i]
|
||||||
|
) {
|
||||||
loop_start=atol(strchr(comment->user_comments[i],'=')+1);
|
loop_start=atol(strchr(comment->user_comments[i],'=')+1);
|
||||||
loop_flag=1;
|
loop_flag=1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user