core/memory: Fix sceKernelMTypeProtect setting VMA type (#1037)

* I hate programming and will furiously smash my monitor if I ever see another oversight of this caliber ever again in my goddamn life

* Merge both protect functions together
This commit is contained in:
Daniel R.
2024-09-23 18:49:57 +02:00
committed by GitHub
parent 5799091044
commit 8c8a6ccddd
3 changed files with 1 additions and 61 deletions

View File

@@ -166,8 +166,6 @@ public:
int Protect(VAddr addr, size_t size, MemoryProt prot);
int MTypeProtect(VAddr addr, size_t size, VMAType mtype, MemoryProt prot);
int VirtualQuery(VAddr addr, int flags, ::Libraries::Kernel::OrbisVirtualQueryInfo* info);
int DirectMemoryQuery(PAddr addr, bool find_next,