mcd, improve cd status reporting

This commit is contained in:
kub 2022-02-09 23:06:10 +00:00
parent 4f3912be75
commit d4a08748fa
2 changed files with 25 additions and 2 deletions

View file

@ -263,6 +263,7 @@ int load_cd_image(const char *cd_img_name, int *type)
finish:
cdd.toc.last = n - 1;
cdd.toc.end = lba;
tracks[n].start = cdd.toc.end;
sprintf_lba(tmp_ext, sizeof(tmp_ext), cdd.toc.end);
elprintf(EL_STATUS, "End CD - %s\n", tmp_ext);