sim65 use error codes outside the simulated program's range for non-sim errors

This commit is contained in:
bbbradsmith
2023-05-07 16:51:12 -04:00
parent 7f0baff792
commit 2cb457b85f
3 changed files with 13 additions and 4 deletions

View File

@@ -124,7 +124,7 @@ static unsigned PopParam (unsigned char Incr)
static void PVExit (CPURegs* Regs)
{
Print (stderr, 1, "PVExit ($%02X)\n", Regs->AC);
SimExit (Regs->AC);
SimExit (Regs->AC); /* Error code in range 0-255. */
}