Merge pull request #214 from wheremyfoodat/wheremyfoodat-patch-3

Add missing log
This commit is contained in:
wheremyfoodat
2023-08-20 02:21:22 +03:00
committed by GitHub

View File

@@ -473,6 +473,7 @@ void Kernel::setThreadPriority() {
}
void Kernel::getCurrentProcessorNumber() {
logSVC("GetCurrentProcessorNumber()\n");
const ProcessorID id = threads[currentThreadIndex].processorID;
s32 ret;
@@ -649,4 +650,4 @@ bool Kernel::shouldWaitOnObject(KernelObject* object) {
Helpers::panic("Not sure whether to wait on object (type: %s)", object->getTypeName());
return true;
}
}
}