Fixed a bug in the CD-ROM image backend code.
This commit is contained in:
@@ -888,6 +888,8 @@ cdi_load_cue(cd_img_t *cdi, const wchar_t *cuefile)
|
|||||||
success = cdi_add_track(cdi, &trk, &shift, prestart, &total_pregap, cur_pregap);
|
success = cdi_add_track(cdi, &trk, &shift, prestart, &total_pregap, cur_pregap);
|
||||||
else
|
else
|
||||||
success = 1;
|
success = 1;
|
||||||
|
if (!success)
|
||||||
|
break;
|
||||||
can_add_track = 0;
|
can_add_track = 0;
|
||||||
|
|
||||||
memset(ansi, 0, MAX_FILENAME_LENGTH * sizeof(char));
|
memset(ansi, 0, MAX_FILENAME_LENGTH * sizeof(char));
|
||||||
|
Reference in New Issue
Block a user