diff m68k_core.h @ 2346:0111c8344477

Fix some issues identified by asan/ubsan
author Michael Pavone <pavone@retrodev.com>
date Sat, 07 Oct 2023 18:04:35 -0700
parents 4e27c36f947c
children f8b5142c06aa
line wrap: on
line diff
--- a/m68k_core.h	Fri Oct 06 00:20:37 2023 -0700
+++ b/m68k_core.h	Sat Oct 07 18:04:35 2023 -0700
@@ -40,7 +40,7 @@
 	cpu_options     gen;
 
 	int8_t          dregs[8];
-	int8_t          aregs[8];
+	int8_t          aregs[9];
 	int8_t			flag_regs[5];
 	FILE            *address_log;
 	code_ptr        read_16;