Browse Source
core/memory: Migrate over address checking functions to the new Memory class
core/memory: Migrate over address checking functions to the new Memory class
A fairly straightforward migration. These member functions can just be mostly moved verbatim with minor changes. We already have the necessary plumbing in places that they're used. IsKernelVirtualAddress() can remain a non-member function, since it doesn't rely on class state in any form.nce_cpp
6 changed files with 70 additions and 39 deletions
-
18src/core/gdbstub/gdbstub.cpp
-
8src/core/hle/kernel/address_arbiter.cpp
-
4src/core/hle/kernel/svc.cpp
-
4src/core/hle/kernel/thread.cpp
-
51src/core/memory.cpp
-
24src/core/memory.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue