diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-01-24 17:29:19 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-01-24 17:29:19 -0400 |
commit | 587e678486edc989f35e4ae6ef5ae800036f64c9 (patch) | |
tree | ae377bd9b9eacd7be1bb8ba30b5ba19689abfa2e /sux.h | |
parent | 553e97d1e5159f2e1dea56dfff0901a029c74f62 (diff) |
sux.h: Corrected typo in `reg2` initialization.
Diffstat (limited to 'sux.h')
-rw-r--r-- | sux.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ \ |