mirror of
https://github.com/open-simh/simh.git
synced 2026-01-11 23:53:30 +00:00
AltairZ80: Fixed confusing call to memset
This commit is contained in:
parent
2b81dd4710
commit
ea5b1dc6fe
@ -585,8 +585,8 @@ static void VFDHD_Command(void)
|
||||
}
|
||||
|
||||
memset(&sdata.u.preamble, 0, 40);
|
||||
memset(&sdata.u.ecc, 0, 5); /* Clear out the ECC and ECC Valid bytes */
|
||||
sdata.u.ecc_valid = 0xAA;
|
||||
memset(&sdata.u.ecc, 0, 4); /* Clear out the ECC bytes */
|
||||
sdata.u.ecc_valid = 0xAA; /* Set the ECC Valid byte */
|
||||
for(vfdhd_info->datacount = 0; sdata.raw[vfdhd_info->datacount] == 0x00; vfdhd_info->datacount++) {
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user