SCP: Allow device service routines to return simulator specific error codes
This commit is contained in:
parent
86114729de
commit
fa10e1de49
1 changed files with 1 additions and 0 deletions
1
scp.c
1
scp.c
|
@ -10654,6 +10654,7 @@ do {
|
|||
AIO_EVENT_COMPLETE(uptr, reason);
|
||||
bare_reason = SCPE_BARE_STATUS (reason);
|
||||
if ((bare_reason != SCPE_OK) && /* Provide context for unexpected errors */
|
||||
(bare_reason >= SCPE_BASE) &&
|
||||
(bare_reason != SCPE_STOP) &&
|
||||
(bare_reason != SCPE_STEP) &&
|
||||
(bare_reason != SCPE_EXPECT) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue