fix: Fix rust test that was missing a parameter

This commit is contained in:
Mark Giraud 2024-03-11 12:31:54 +01:00
parent 00680412d3
commit d4f5bf1be2
No known key found for this signature in database
GPG Key ID: 1C0A1EDE9B8335F4
1 changed files with 1 additions and 1 deletions

View File

@ -763,7 +763,7 @@ fn x86_block_callback() {
assert_eq!(emu.mem_write(0x1000, &x86_code32), Ok(()));
let hook = emu
.add_block_hook(callback)
.add_block_hook(1, 0, callback)
.expect("failed to add block hook");
assert_eq!(
emu.emu_start(0x1000, 0x1002, 10 * SECOND_SCALE, 1000),