From 0821f7ea4119af996ed40ed92c71b434329ad325 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 6 May 2020 04:09:33 +0200 Subject: [PATCH] Fixed the accumulate function on the 64-bit recompiler. --- src/cpu/codegen_accumulate_x86-64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/codegen_accumulate_x86-64.c b/src/cpu/codegen_accumulate_x86-64.c index 415b04401..9b089df02 100644 --- a/src/cpu/codegen_accumulate_x86-64.c +++ b/src/cpu/codegen_accumulate_x86-64.c @@ -34,7 +34,7 @@ void codegen_accumulate_flush(void) addbyte(0x04); addbyte(0x25); addlong((uint32_t) acc_regs[c].dest_reg); - addlong(codegen_block_full_ins); + addlong(acc_regs[c].count); } acc_regs[c].count = 0;