Skip to content

Commit 7d59300

Browse files
committed
remove already popped addr
1 parent 187fd3c commit 7d59300

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/src/util.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ pub fn run_to_return(emu: &mut NesState, print: bool) {
2626
break;
2727
}
2828
}
29-
30-
opcodes::pop(emu);
31-
opcodes::pop(emu);
3229
}
3330

3431
pub fn cycles_to_return(emu: &mut NesState) -> u32 {
@@ -46,9 +43,6 @@ pub fn cycles_to_return(emu: &mut NesState) -> u32 {
4643
}
4744
}
4845

49-
opcodes::pop(emu);
50-
opcodes::pop(emu);
51-
5246
cycles
5347
}
5448

0 commit comments

Comments
 (0)