mirror of
https://github.com/simh/simh.git
synced 2026-02-25 16:30:55 +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 (UCA);
|
||||||
CLR_INT (UCB);
|
CLR_INT (UCB);
|
||||||
if (uc15_shmem == NULL) { /* allocate shared state */
|
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)
|
if (r != SCPE_OK)
|
||||||
return r;
|
return r;
|
||||||
uc15_shstate = (int32 *) basead;
|
uc15_shstate = (int32 *) basead;
|
||||||
|
|||||||
Reference in New Issue
Block a user