mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
[Kernel] Allow 0 return for MmQueryAddressProtect.
This commit is contained in:
parent
d2cf0167fd
commit
d420215de1
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ dword_result_t MmQueryAddressProtect(dword_t base_address) {
|
|||
if (!heap->QueryProtect(base_address, &access)) {
|
||||
access = 0;
|
||||
}
|
||||
access = ToXdkProtectFlags(access);
|
||||
access = !access ? 0 : ToXdkProtectFlags(access);
|
||||
|
||||
return access;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue