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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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,