fix: Fix rust test that was missing a parameter
This commit is contained in:
@@ -763,7 +763,7 @@ fn x86_block_callback() {
|
|||||||
assert_eq!(emu.mem_write(0x1000, &x86_code32), Ok(()));
|
assert_eq!(emu.mem_write(0x1000, &x86_code32), Ok(()));
|
||||||
|
|
||||||
let hook = emu
|
let hook = emu
|
||||||
.add_block_hook(callback)
|
.add_block_hook(1, 0, callback)
|
||||||
.expect("failed to add block hook");
|
.expect("failed to add block hook");
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
emu.emu_start(0x1000, 0x1002, 10 * SECOND_SCALE, 1000),
|
emu.emu_start(0x1000, 0x1002, 10 * SECOND_SCALE, 1000),
|
||||||
|
|||||||
Reference in New Issue
Block a user