mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 11:51:00 +00:00
typo
This commit is contained in:
parent
022f8d82d1
commit
06481933e0
|
@ -6,7 +6,7 @@ import unicorn
|
|||
ADDR = 0xffaabbcc
|
||||
|
||||
def hook_mem_invalid(mu, access, address, size, value, user_data):
|
||||
print ">>> Access type: %u, Expected value: 0x%x, actual value: 0x%x" % (access, ADDR, address)
|
||||
print ">>> Access type: %u, expected value: 0x%x, actual value: 0x%x" % (access, ADDR, address)
|
||||
assert(address == ADDR)
|
||||
mu.mem_map(address & 0xfffff000, 4 * 1024)
|
||||
mu.mem_write(address, b'\xcc')
|
||||
|
|
Loading…
Reference in a new issue