summaryrefslogtreecommitdiff
path: root/sux.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-01-24 17:29:19 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2022-01-24 17:29:19 -0400
commit587e678486edc989f35e4ae6ef5ae800036f64c9 (patch)
treeae377bd9b9eacd7be1bb8ba30b5ba19689abfa2e /sux.h
parent553e97d1e5159f2e1dea56dfff0901a029c74f62 (diff)
sux.h: Corrected typo in `reg2` initialization.
Diffstat (limited to 'sux.h')
-rw-r--r--sux.h2
1 files changed, 1 insertions, 1 deletions
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. */ \