Skip to content

Commit f5a5b26

Browse files
committed
fixed jmp logging for prog.rs
1 parent 1574b7b commit f5a5b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prog.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn rst(_state: CpuState) -> CpuState {
5050
fn make_jmp(target: usize) -> Box<dyn Fn(CpuState) -> CpuState> {
5151
Box::new(move |mut state| {
5252
state.pc = target;
53-
log("jmp", &state);
53+
log(&format!("jmp {}", target), &state);
5454
state
5555
})
5656
}

0 commit comments

Comments
 (0)