mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
[GPU::GSP] Send VBlank1 alongside VBlank0
This commit is contained in:
parent
994cb875c1
commit
2088b59f10
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,7 @@ void Kernel::createEvent() {
|
||||||
void Kernel::clearEvent() {
|
void Kernel::clearEvent() {
|
||||||
const Handle handle = regs[0];
|
const Handle handle = regs[0];
|
||||||
const auto event = getObject(handle, KernelObjectType::Event);
|
const auto event = getObject(handle, KernelObjectType::Event);
|
||||||
printf("ClearEvent(event handle = %d)\n", event);
|
printf("ClearEvent(event handle = %d)\n", handle);
|
||||||
|
|
||||||
if (event == nullptr) [[unlikely]] {
|
if (event == nullptr) [[unlikely]] {
|
||||||
regs[0] = SVCResult::BadHandle;
|
regs[0] = SVCResult::BadHandle;
|
||||||
|
@ -58,5 +58,6 @@ void Kernel::waitSynchronization1() {
|
||||||
|
|
||||||
printf("WaitSynchronization1(handle = %X, ns = %lld) (STUBBED)\n", handle, ns);
|
printf("WaitSynchronization1(handle = %X, ns = %lld) (STUBBED)\n", handle, ns);
|
||||||
serviceManager.requestGPUInterrupt(GPUInterrupt::VBlank0);
|
serviceManager.requestGPUInterrupt(GPUInterrupt::VBlank0);
|
||||||
|
serviceManager.requestGPUInterrupt(GPUInterrupt::VBlank1);
|
||||||
regs[0] = SVCResult::Success;
|
regs[0] = SVCResult::Success;
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue