[Kernel/APT] Stub some APT and threading stuff to make OoT go further

This commit is contained in:
wheremyfoodat 2022-10-09 18:59:54 +03:00
parent df4cd0642d
commit cd13ba6271
7 changed files with 44 additions and 2 deletions

View file

@ -115,4 +115,11 @@ void Kernel::getThreadID() {
regs[0] = SVCResult::Success;
regs[1] = thread->getData<Thread>()->index;
}
void Kernel::releaseMutex() {
const Handle handle = regs[0];
logSVC("ReleaseMutex (handle = %x) (STUBBED)\n", handle);
regs[0] = SVCResult::Success;
}