Browse Source
vm_manager: Make vma_map private
vm_manager: Make vma_map private
This was only ever public so that code could check whether or not a handle was valid or not. Instead of exposing the object directly and allowing external code to potentially mess with the map contents, we just provide a member function that allows checking whether or not a handle is valid. This makes all member variables of the VMManager class private except for the page table.nce_cpp
5 changed files with 41 additions and 28 deletions
-
8src/core/hle/kernel/shared_memory.cpp
-
20src/core/hle/kernel/svc.cpp
-
4src/core/hle/kernel/vm_manager.cpp
-
26src/core/hle/kernel/vm_manager.h
-
11src/core/memory.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue