[GSP::GPU] We can now request interrupts
This commit is contained in:
@@ -57,5 +57,6 @@ void Kernel::waitSynchronization1() {
|
||||
}
|
||||
|
||||
printf("WaitSynchronization1(handle = %X, ns = %lld) (STUBBED)\n", handle, ns);
|
||||
serviceManager.requestGPUInterrupt(GPUInterrupt::VBlank0);
|
||||
regs[0] = SVCResult::Success;
|
||||
}
|
||||
@@ -105,6 +105,7 @@ void Kernel::mapMemoryBlock() {
|
||||
|
||||
if (block == KernelHandles::GSPSharedMemHandle) {
|
||||
mem.mapGSPSharedMemory(addr, myPerms, otherPerms);
|
||||
serviceManager.setGSPSharedMem(static_cast<u8*>(mem.getReadPointer(addr)));
|
||||
} else {
|
||||
Helpers::panic("MapMemoryBlock where the handle does not refer to GSP memory");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user