From 6c070050270eaecd2f3e51514d63f6ad251b0eb1 Mon Sep 17 00:00:00 2001 From: Forest Belton <65484+forestbelton@users.noreply.github.com> Date: Sat, 26 Jun 2021 19:01:21 -0400 Subject: [PATCH] Fix double-processing of instructions --- src/insn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/insn.c b/src/insn.c index b02fd95..868d7c7 100644 --- a/src/insn.c +++ b/src/insn.c @@ -34,6 +34,7 @@ void insn_execute(cpu_t *cpu, uint32_t insn) { } secondary_insn_handler[op2](cpu, insn); + return; } if (op > TABLE_SIZE || primary_insn_handler[op] == NULL) {