From 11df2a2fd96dffde40c45aa80bc6bc5621226c3d Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 23 Jan 2018 23:06:39 -0800 Subject: [PATCH] SCP: Set proper bound on error arrays --- sim_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_defs.h b/sim_defs.h index b0129533..a24e8a6a 100644 --- a/sim_defs.h +++ b/sim_defs.h @@ -403,7 +403,7 @@ typedef uint32 t_addr; #define SCPE_AMBREG (SCPE_BASE + 46) /* ambiguous register */ #define SCPE_REMOTE (SCPE_BASE + 47) /* remote console command */ -#define SCPE_MAX_ERR (SCPE_BASE + 48) /* Maximum SCPE Error Value */ +#define SCPE_MAX_ERR (SCPE_BASE + 47) /* Maximum SCPE Error Value */ #define SCPE_KFLAG 0x1000 /* tti data flag */ #define SCPE_BREAK 0x2000 /* tti break flag */ #define SCPE_NOMESSAGE 0x10000000 /* message display supression flag */