Add loop support for Zero Time Dilemma (PC)

This commit is contained in:
bnnm 2016-11-12 00:39:40 +01:00
parent bc350eab0d
commit eddd789222

View File

@ -393,6 +393,13 @@ VGMSTREAM * init_vgmstream_ogg_vorbis_callbacks(STREAMFILE *streamFile, const ch
loop_flag=1;
loop_end_found=1;
}
else if (strstr(comment->user_comments[i],"COMMENT=loop(")==
comment->user_comments[i]) {
sscanf(strrchr(comment->user_comments[i],'(')+1,"%d,%d",
&loop_start,&loop_end);
loop_flag=1;
loop_end_found=1;
}
}
}