diff options
| -rw-r--r-- | src/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -143,7 +143,7 @@ int read_alf_header(void) { /* read buf_len_l/h bytes into buf_adr_l/h, then store the number of bytes actually read in buf_len_l/h. TODO: what about EOF? */ void readblock(void) { - static int bytes_read = 0; + // static int bytes_read = 0; int bytes, len, bufadr; u8 *buf; @@ -152,7 +152,7 @@ void readblock(void) { len = dpeek(buf_len_l); bytes = fread(buf, 1, len, in_file); - bytes_read += bytes; + // bytes_read += bytes; /* mimic CIO's behaviour */ if(feof(in_file)) { |
