mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-07 20:54:48 +12:00
[GSP::GPU] We can now request interrupts
This commit is contained in:
parent
194761ca54
commit
3ccba6db40
5 changed files with 37 additions and 0 deletions
src/core/kernel
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue