tests: Update tests for memory being CPU-internal

This commit is contained in:
2023-04-29 18:38:38 -05:00
parent cb69af048f
commit 8b4d5be49d
2 changed files with 7 additions and 8 deletions

View File

@@ -704,7 +704,7 @@ mod io {
ScreenTest {
program: include_bytes!("../../chip-8/IBM Logo.ch8"),
screen: include_bytes!("tests/screens/IBM Logo.ch8/20.bin"),
steps: 56,
steps: 21,
quirks: Quirks {
bin_ops: false,
shift: false,
@@ -1151,7 +1151,7 @@ mod behavior {
cpu.pc = 0xfff;
match cpu.tick(&mut bus) {
Err(Error::InvalidAddressRange { range }) => {
eprintln!("InvalidBusRange {{ {range:04x?} }}")
eprintln!("InvalidAddressRange {{ {range:04x?} }}")
}
other => unreachable!("{other:04x?}"),
}