CD-ROM Image: Fix support for broken cue files with "TRACK 0" instead of "TRACK 01".
This commit is contained in:
@@ -1610,7 +1610,9 @@ image_load_cue(cd_image_t *img, const char *cuefile)
|
|||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
} else if ((t == 0) && (line[strlen(line) - 2] == ' ') &&
|
||||||
|
(line[strlen(line) - 1] == '0'))
|
||||||
|
t = 1;
|
||||||
|
|
||||||
last_t = t;
|
last_t = t;
|
||||||
ct = image_insert_track(img, session, t);
|
ct = image_insert_track(img, session, t);
|
||||||
|
|||||||
Reference in New Issue
Block a user