Corrected nwa computation for drive role 5
This commit is contained in:
parent
a088a85374
commit
d0c6889603
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2011.03.19.222152"
|
#define Cdrskin_timestamP "2011.03.21.090313"
|
||||||
|
@ -338,7 +338,7 @@ int burn_drive_grab(struct burn_drive *d, int le)
|
|||||||
stbuf.st_size > 0) {
|
stbuf.st_size > 0) {
|
||||||
d->status = BURN_DISC_APPENDABLE;
|
d->status = BURN_DISC_APPENDABLE;
|
||||||
d->role_5_nwa = stbuf.st_size / 2048 +
|
d->role_5_nwa = stbuf.st_size / 2048 +
|
||||||
!!(stbuf.st_size % 2049);
|
!!(stbuf.st_size % 2048);
|
||||||
} else
|
} else
|
||||||
d->status = BURN_DISC_BLANK;
|
d->status = BURN_DISC_BLANK;
|
||||||
} else {
|
} else {
|
||||||
@ -1566,7 +1566,7 @@ int burn_drive_grab_dummy(struct burn_drive_info *drive_infos[], char *fname)
|
|||||||
d->status = BURN_DISC_APPENDABLE;
|
d->status = BURN_DISC_APPENDABLE;
|
||||||
d->block_types[BURN_WRITE_SAO] = 0;
|
d->block_types[BURN_WRITE_SAO] = 0;
|
||||||
d->role_5_nwa = stbuf.st_size / 2048 +
|
d->role_5_nwa = stbuf.st_size / 2048 +
|
||||||
!!(stbuf.st_size % 2049);
|
!!(stbuf.st_size % 2048);
|
||||||
} else {
|
} else {
|
||||||
d->status = BURN_DISC_BLANK;
|
d->status = BURN_DISC_BLANK;
|
||||||
d->block_types[BURN_WRITE_SAO] =
|
d->block_types[BURN_WRITE_SAO] =
|
||||||
|
Loading…
Reference in New Issue
Block a user