Stub svcUnmapMemoryBlock

This commit is contained in:
wheremyfoodat 2024-01-24 19:04:55 +02:00
parent c108da5e02
commit 85a2ca1bf4
3 changed files with 11 additions and 0 deletions

View file

@ -207,3 +207,12 @@ void Kernel::createMemoryBlock() {
regs[0] = Result::Success;
regs[1] = makeMemoryBlock(addr, size, myPermission, otherPermission);
}
void Kernel::unmapMemoryBlock() {
Handle block = regs[0];
u32 addr = regs[1];
logSVC("Unmap memory block (block handle = %X, addr = %08X)\n", block, addr);
Helpers::warn("Stubbed svcUnmapMemoryBlock!");
regs[0] = Result::Success;
}