mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-27 20:51:17 +00:00
We should be using the rts handler function
Oops!
This commit is contained in:
parent
a720246e26
commit
c4a6f77bcd
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user