mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +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,
|
||||
size, track_path, max_len)) {
|
||||
rv = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user