Skip to content

Commit d4f5bf1

Browse files
committedMar 11, 2024··
fix: Fix rust test that was missing a parameter
1 parent 0068041 commit d4f5bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/rust-tests/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ fn x86_block_callback() {
763763
assert_eq!(emu.mem_write(0x1000, &x86_code32), Ok(()));
764764

765765
let hook = emu
766-
.add_block_hook(callback)
766+
.add_block_hook(1, 0, callback)
767767
.expect("failed to add block hook");
768768
assert_eq!(
769769
emu.emu_start(0x1000, 0x1002, 10 * SECOND_SCALE, 1000),

0 commit comments

Comments
 (0)
Please sign in to comment.