mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-25 14:41:02 +00:00
Added additional vmp compatibility
This commit is contained in:
@@ -31,6 +31,10 @@ inline std::optional<nt_memory_permission> try_map_nt_to_emulator_protection(uin
|
||||
ext = memory_permission_ext::guard;
|
||||
}
|
||||
|
||||
// Remove the highest nibble since we are not currently handling those memory protection constants
|
||||
// https://github.com/winsiderss/phnt/blob/master/ntmmapi.h#L26
|
||||
nt_protection &= ~0xF0000000;
|
||||
|
||||
memory_permission common = memory_permission::none;
|
||||
switch (nt_protection)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user