mirror of
https://github.com/jborza/emu6502.git
synced 2024-11-21 08:31:23 +00:00
test framework assert_pc message typo fix
This commit is contained in:
parent
dfdca60d85
commit
5dee89df61
@ -97,7 +97,7 @@ void assert_sp(State6502 * state, byte expected) {
|
|||||||
|
|
||||||
void assert_pc(State6502 * state, word expected) {
|
void assert_pc(State6502 * state, word expected) {
|
||||||
if (state->pc != expected) {
|
if (state->pc != expected) {
|
||||||
printf("Unexpected value in SP, expected %02X, was %02X", expected, state->pc);
|
printf("Unexpected value in PC, expected %02X, was %02X", expected, state->pc);
|
||||||
exit_or_break();
|
exit_or_break();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user