mirror of
https://github.com/open-simh/simh.git
synced 2026-05-01 22:16:21 +00:00
Updated AltairZ80 from Peter Schorn
This commit is contained in:
@@ -759,7 +759,7 @@ t_stat trackWrite(DISK_INFO *myDisk,
|
||||
* sector record type as the first byte, and fill the sector
|
||||
* data with the fillbyte.
|
||||
*/
|
||||
dataLen = (128 << sectorLen)+1;
|
||||
dataLen = sectorLen + 1;
|
||||
sectorData = malloc(dataLen);
|
||||
memset(sectorData, fillbyte, dataLen);
|
||||
sectorData[0] = SECT_RECORD_NORM;
|
||||
|
||||
Reference in New Issue
Block a user