Fixed PSX loop points scanner not working on mono files

This commit is contained in:
NicknineTheEagle 2019-12-05 15:35:46 +03:00
parent 23fa661f4a
commit 08e135a07e

View File

@ -239,7 +239,7 @@ static int ps_find_loop_offsets_internal(STREAMFILE *streamFile, off_t start_off
int detect_full_loops = config & 1;
if (data_size == 0 || channels == 0 || (channels > 0 && interleave == 0))
if (data_size == 0 || channels == 0 || (channels > 1 && interleave == 0))
return 0;
while (offset < max_offset) {