UC15: Fix shared memory segment size parameter
This commit is contained in:
parent
a541aa2c46
commit
52e8c7f6f8
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue