1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

SCP: Add descriptive messages for SCPE_NOPARAM return cases

This commit is contained in:
Mark Pizzolato
2022-05-12 13:13:15 -07:00
parent ac73e7b4c7
commit ad9249d4c1
3 changed files with 22 additions and 13 deletions

View File

@@ -1601,7 +1601,8 @@ while (*cptr != 0) { /* do all mods */
if (r != SCPE_OK)
return r;
}
else return SCPE_NOPARAM;
else
return sim_messagef (SCPE_NOPARAM, "Invalid timer parameter: %s\n", gbuf);
}
return SCPE_OK;
}