mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
[Kernel] Fix WaitSynchronization1 ABI
This commit is contained in:
parent
62af35c42b
commit
ba3db24f30
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ void Kernel::svcSignalEvent() {
|
||||||
// Result WaitSynchronization1(Handle handle, s64 timeout_nanoseconds)
|
// Result WaitSynchronization1(Handle handle, s64 timeout_nanoseconds)
|
||||||
void Kernel::waitSynchronization1() {
|
void Kernel::waitSynchronization1() {
|
||||||
const Handle handle = regs[0];
|
const Handle handle = regs[0];
|
||||||
const s64 ns = s64(u64(regs[1]) | (u64(regs[2]) << 32));
|
const s64 ns = s64(u64(regs[2]) | (u64(regs[3]) << 32));
|
||||||
logSVC("WaitSynchronization1(handle = %X, ns = %lld)\n", handle, ns);
|
logSVC("WaitSynchronization1(handle = %X, ns = %lld)\n", handle, ns);
|
||||||
|
|
||||||
const auto object = getObject(handle);
|
const auto object = getObject(handle);
|
||||||
|
|
Loading…
Add table
Reference in a new issue