mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-20 08:31:40 +00:00
Uh, so we forgot to read data into the disk
This commit is contained in:
parent
f70f21789b
commit
e14e22a596
@ -57,6 +57,9 @@ apple2dd_insert(apple2dd *drive, FILE *stream)
|
||||
drive->track_pos = 0;
|
||||
drive->sector_pos = 0;
|
||||
|
||||
// FIXME: vm_segment code should be doing this
|
||||
fread(drive->data->memory, sizeof(vm_8bit), finfo.st_size, stream);
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user