[Kernel] Fix ArbitrateAddress

This commit is contained in:
wheremyfoodat 2022-09-20 16:50:20 +03:00
parent 919951516a
commit 77078f73b3
5 changed files with 25 additions and 13 deletions

View file

@ -302,7 +302,7 @@ void Memory::mapGSPSharedMemory(u32 vaddr, u32 myPerms, u32 otherPerms) {
// Wipe the GSP memory allocation from existence
gspMemIndex = std::nullopt;
//std::erase(lockedMemoryInfo, index);
lockedMemoryInfo.erase(lockedMemoryInfo.begin() + index);
if (myPerms == 0x10000000) {
myPerms = 3;