1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-08-21 00:29:00 +00:00

Uh, so we forgot to read data into the disk

This commit is contained in:
Peter Evans 2017-12-31 15:54:30 -06:00
parent f70f21789b
commit e14e22a596

View File

@ -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;
}