mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-16 11:48:28 +12:00
Code cleanup
This commit is contained in:
parent
9523993a24
commit
ff9d180154
26 changed files with 105 additions and 131 deletions
|
@ -1,6 +1,5 @@
|
|||
#include "Cafe/OS/common/OSCommon.h"
|
||||
#include "Cafe/OS/libs/coreinit/coreinit_Thread.h"
|
||||
#include "Cafe/OS/libs/coreinit/coreinit.h"
|
||||
#include "iosu_ioctl.h"
|
||||
#include "util/helpers/ringbuffer.h"
|
||||
|
||||
|
@ -23,7 +22,7 @@ sint32 iosuIoctl_pushAndWait(uint32 ioctlHandle, ioQueueEntry_t* ioQueueEntry)
|
|||
}
|
||||
__OSLockScheduler();
|
||||
ioctlMutex.lock();
|
||||
ioQueueEntry->ppcThread = coreinitThread_getCurrentThreadDepr(PPCInterpreter_getCurrentInstance());
|
||||
ioQueueEntry->ppcThread = coreinit::OSGetCurrentThread();
|
||||
|
||||
_ioctlRingbuffer[ioctlHandle].Push(ioQueueEntry);
|
||||
ioctlMutex.unlock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue