mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-17 19:21:30 +12:00
[Kernel] Add log to CreateMutex
This commit is contained in:
parent
514ddf39bd
commit
70a492fa03
1 changed files with 1 additions and 0 deletions
|
@ -280,6 +280,7 @@ void Kernel::setThreadPriority() {
|
||||||
|
|
||||||
void Kernel::createMutex() {
|
void Kernel::createMutex() {
|
||||||
bool locked = regs[1] != 0;
|
bool locked = regs[1] != 0;
|
||||||
|
logSVC("CreateMutex (locked = %s)\n", locked ? "yes" : "no");
|
||||||
|
|
||||||
regs[0] = SVCResult::Success;
|
regs[0] = SVCResult::Success;
|
||||||
regs[1] = makeMutex(locked);
|
regs[1] = makeMutex(locked);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue