Add CLI "-k -2" for loop testing

This commit is contained in:
bnnm 2020-10-12 23:30:39 +02:00
parent b55675d49d
commit 76f8a3973a

View File

@ -670,7 +670,8 @@ int main(int argc, char** argv) {
return EXIT_SUCCESS;
}
if (cfg.seek_samples1 < -1) /* ex value for loop testing */
cfg.seek_samples1 = vgmstream->loop_start_sample;
if (cfg.seek_samples1 >= len_samples)
cfg.seek_samples1 = -1;
if (cfg.seek_samples2 >= len_samples)