From 587e678486edc989f35e4ae6ef5ae800036f64c9 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 24 Jan 2022 17:29:19 -0400 Subject: sux.h: Corrected typo in `reg2` initialization. --- sux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sux.h b/sux.h index a56d094..a0d26a3 100644 --- a/sux.h +++ b/sux.h @@ -1806,7 +1806,7 @@ static /*inline*/ void inst_##op(struct sux *cpu, uint8_t prefix, uint8_t size, uint64_t sign = 0; \ uint64_t addr = 0, idx = 0, tmp = 0, tmp2 = 0; \ uint64_t dummy = 0, *reg = &dummy; \ - uint64_t dummy2 = 0, *reg2 = &dummy; \ + uint64_t dummy2 = 0, *reg2 = &dummy2; \ int pre_idx = 0, mem_type = ZM; \ /* Decode Address. */ \ t(1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000) { cpu->pc = 0xFFA0; } /* NMI Vector. */ \ -- cgit v1.2.3-13-gbd6f