mirror of
https://github.com/simh/simh.git
synced 2026-01-26 20:12:23 +00:00
UC15: Fix incorrect shared region size
This commit is contained in:
@@ -395,7 +395,7 @@ ucb_buf = 0;
|
||||
CLR_INT (UCA);
|
||||
CLR_INT (UCB);
|
||||
if (uc15_shmem == NULL) { /* allocate shared state */
|
||||
r = sim_shmem_open ("UC15SharedState", UC15_STATE_SIZE, &uc15_shmem, &basead);
|
||||
r = sim_shmem_open ("UC15SharedState", UC15_STATE_SIZE * sizeof(int32), &uc15_shmem, &basead);
|
||||
if (r != SCPE_OK)
|
||||
return r;
|
||||
uc15_shstate = (int32 *) basead;
|
||||
|
||||
Reference in New Issue
Block a user