aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/tic80/cpu.h')
-rw-r--r--sim/tic80/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/tic80/cpu.h b/sim/tic80/cpu.h
index b7d797f..9e81980 100644
--- a/sim/tic80/cpu.h
+++ b/sim/tic80/cpu.h
@@ -20,12 +20,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-typedef struct _sim_cpu {
+struct _sim_cpu {
unsigned32 reg[32];
unsigned64 acc[4];
- instruction_address cia;
+ sim_cia cia;
sim_cpu_base base;
-} sim_cpu;
+};
#define GPR(N) ((CPU)->reg[N])
#define ACC(N) ((CPU)->acc[N])