mirror of
https://github.com/tcarmelveilleux/dcc6502.git
synced 2024-06-26 20:29:27 +00:00
Compare commits
No commits in common. "master" and "dcc6502_v2.1" have entirely different histories.
master
...
dcc6502_v2
|
@ -769,8 +769,8 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
byte_count = 0;
|
||||
while(!feof(input_file) && ((options.org + byte_count) <= 0xFFFFu) && (byte_count < options.max_num_bytes)) {
|
||||
size_t bytes_read = fread(&buffer[options.org + byte_count], 1, 1, input_file);
|
||||
byte_count += bytes_read;
|
||||
fread(&buffer[options.org + byte_count], 1, 1, input_file);
|
||||
byte_count++;
|
||||
}
|
||||
|
||||
fclose(input_file);
|
||||
|
|
Loading…
Reference in New Issue
Block a user