mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Code cleanup
This commit is contained in:
parent
9523993a24
commit
ff9d180154
26 changed files with 105 additions and 131 deletions
|
@ -52,7 +52,7 @@ typedef struct
|
|||
void hleExport_xcx_enterCriticalSection(PPCInterpreter_t* hCPU)
|
||||
{
|
||||
ppcDefineParamStructPtr(xcxCS, xcxCS_t, 0);
|
||||
uint32 threadId = coreinitThread_getCurrentThreadMPTRDepr(hCPU);
|
||||
uint32 threadId = MEMPTR<OSThread_t>(coreinit::OSGetCurrentThread()).GetMPTR();
|
||||
cemu_assert_debug(xcxCS->ukn08 != 0);
|
||||
cemu_assert_debug(threadId);
|
||||
if (xcxCS->ownerThreadId == (uint32be)threadId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue