mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 15:18:08 +00:00
improve instruction for uc_mem_map() in unicorn.h
This commit is contained in:
parent
0c78613612
commit
d725e5fee9
1 changed files with 2 additions and 2 deletions
|
@ -405,8 +405,8 @@ typedef enum uc_prot {
|
|||
@size: size of the new memory region to be mapped in.
|
||||
This size must be multiple of 4KB, or this will return with UC_ERR_MAP error.
|
||||
@perms: Permissions for the newly mapped region.
|
||||
This must be some combination of UC_PROT_READ | UC_PROT_WRITE,
|
||||
or this will return with UC_ERR_MAP error.
|
||||
This must be some combination of UC_PROT_READ & UC_PROT_WRITE,
|
||||
or this will return with UC_ERR_MAP error. See uc_prot type above.
|
||||
|
||||
@return UC_ERR_OK on success, or other value on failure (refer to uc_err enum
|
||||
for detailed error).
|
||||
|
|
Loading…
Reference in a new issue