mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
task_database: fix parsing CUEs with one track
This commit is contained in:
parent
c6c090052e
commit
46e78e9d1b
@ -516,6 +516,10 @@ int cue_find_track(const char *cue_path, bool first,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (file_size != -1) {
|
||||||
|
last_index = file_size;
|
||||||
|
}
|
||||||
|
|
||||||
if (update_cand(&cand_index, &last_index, &largest, last_file, offset,
|
if (update_cand(&cand_index, &last_index, &largest, last_file, offset,
|
||||||
size, track_path, max_len)) {
|
size, track_path, max_len)) {
|
||||||
rv = 0;
|
rv = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user