1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-05-05 23:45:14 +00:00

SCP: Updated to current.

This commit is contained in:
Richard Cornwell
2019-12-07 23:51:06 -05:00
parent bcccbbf38a
commit 6df72b87c0
4 changed files with 38 additions and 4 deletions

View File

@@ -1123,7 +1123,7 @@ t_seccnt sects_read;
if ((dptr = find_dev_from_unit (uptr)) == NULL)
return ret_val;
saved_capac = uptr->capac;
uptr->capac = temp_capac;
uptr->capac = (t_addr)temp_capac;
if ((sim_disk_rdsect (uptr, 512 / ctx->sector_size, (uint8 *)&Home, &sects_read, sizeof (Home) / ctx->sector_size)) ||
(sects_read != (sizeof (Home) / ctx->sector_size)))
goto Return_Cleanup;