diff --git a/arm7tdmi/examples/simple_emulator.rs b/arm7tdmi/examples/simple_emulator.rs index a12b1d1..aa31572 100644 --- a/arm7tdmi/examples/simple_emulator.rs +++ b/arm7tdmi/examples/simple_emulator.rs @@ -83,7 +83,7 @@ impl run_blocking::BlockingEventLoop for SimpleEmulator { fn main() -> Result<(), Box> { SimpleLogger::new().env().init().unwrap(); - let mut emulator = SimpleEmulator::new(include_bytes!("test_program/example.bin")); + let mut emulator = SimpleEmulator::new(include_bytes!("test_program/test.bin")); let conn: Box> = Box::new(wait_for_connection(1337)?); let gdb = GdbStub::new(conn); @@ -102,8 +102,8 @@ mod test { #[test] fn test_breakpoint() -> Result<(), Box> { - let mut emulator = SimpleEmulator::new(include_bytes!("test_program/example.bin")); - let symbol_map = read_symbols(include_bytes!("test_program/example.elf"))?; + let mut emulator = SimpleEmulator::new(include_bytes!("test_program/test.bin")); + let symbol_map = read_symbols(include_bytes!("test_program/test.elf"))?; let breakpoint_addr = *symbol_map.get("breakpoint_on_me").unwrap(); println!("breakpoint_addr = {:08x}", breakpoint_addr); let breakpoint_counter_addr = *symbol_map.get("breakpoint_count").unwrap();