From c4a6f77bcd51f95cbfdc6a9385a75b465c46af40 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sat, 9 Dec 2017 14:53:18 -0600 Subject: [PATCH] We should be using the rts handler function Oops! --- tests/mos6502.exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mos6502.exec.c b/tests/mos6502.exec.c index e90782d..b90417c 100644 --- a/tests/mos6502.exec.c +++ b/tests/mos6502.exec.c @@ -57,7 +57,7 @@ Test(mos6502_exec, rti) Test(mos6502_exec, rts) { mos6502_push_stack(cpu, 333); - mos6502_handle_rti(cpu, 0); + mos6502_handle_rts(cpu, 0); cr_assert_eq(cpu->PC, 333); }