Avoid undefined 43h commands (TOC/ATIP) with non-CD

This commit is contained in:
2006-12-20 14:52:48 +00:00
parent b02b2a40e7
commit 1b1ef5a31d
3 changed files with 12 additions and 5 deletions

View File

@ -553,7 +553,8 @@ void mmc_read_disc_info(struct burn_drive *d)
case 1:
d->status = BURN_DISC_APPENDABLE;
case 2:
mmc_read_toc(d);
if (d->current_profile == -1 || d->current_is_cd_profile)
mmc_read_toc(d);
break;
}