Allowing SCSI read operations > 32 kB

1.2.0
Thomas Schmitt 11 years ago
parent 6549072dcd
commit 7ce13c6dd3
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 6
      libburn/read.c

@ -1 +1 @@
#define Cdrskin_timestamP "2012.01.20.091016"
#define Cdrskin_timestamP "2012.01.21.174103"

@ -465,9 +465,9 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
wpt = data;
for (; start < upto; start += chunksize) {
chunksize = upto - start;
if (chunksize > 16) {
chunksize = 16;
cpy_size = 16 * 2048;
if (chunksize > (BUFFER_SIZE / 2048)) {
chunksize = (BUFFER_SIZE / 2048);
cpy_size = BUFFER_SIZE;
} else
cpy_size = data_size - *data_count;
if (flag & 2)

Loading…
Cancel
Save