mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 22:14:58 +00:00
sys_ppu_thread_exit fix
This commit is contained in:
parent
1f46098b23
commit
41495e5d2a
@ -10,12 +10,10 @@
|
|||||||
|
|
||||||
extern Module *sysPrxForUser;
|
extern Module *sysPrxForUser;
|
||||||
|
|
||||||
static const u32 PPU_THREAD_ID_INVALID = 0xFFFFFFFFU;
|
static const u32 PPU_THREAD_ID_INVALID = 0xFFFFFFFFU/*UUUUUUUUUUuuuuuuuuuu~~~~~~~~*/;
|
||||||
|
|
||||||
void sys_ppu_thread_exit(u64 errorcode)
|
void ppu_thread_exit(u64 errorcode)
|
||||||
{
|
{
|
||||||
sysPrxForUser->Log("sys_ppu_thread_exit(0x%llx)", errorcode);
|
|
||||||
|
|
||||||
PPUThread& thr = GetCurrentPPUThread();
|
PPUThread& thr = GetCurrentPPUThread();
|
||||||
u32 tid = thr.GetId();
|
u32 tid = thr.GetId();
|
||||||
|
|
||||||
@ -29,6 +27,20 @@ void sys_ppu_thread_exit(u64 errorcode)
|
|||||||
thr.Stop();
|
thr.Stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void sys_ppu_thread_exit(u64 errorcode)
|
||||||
|
{
|
||||||
|
sysPrxForUser->Log("sys_ppu_thread_exit(0x%llx)", errorcode);
|
||||||
|
|
||||||
|
ppu_thread_exit(errorcode);
|
||||||
|
}
|
||||||
|
|
||||||
|
void sys_internal_ppu_thread_exit(u64 errorcode)
|
||||||
|
{
|
||||||
|
sysPrxForUser->Log("sys_internal_ppu_thread_exit(0x%llx)", errorcode);
|
||||||
|
|
||||||
|
ppu_thread_exit(errorcode);
|
||||||
|
}
|
||||||
|
|
||||||
s32 sys_ppu_thread_yield()
|
s32 sys_ppu_thread_yield()
|
||||||
{
|
{
|
||||||
sysPrxForUser->Log("sys_ppu_thread_yield()");
|
sysPrxForUser->Log("sys_ppu_thread_yield()");
|
||||||
|
@ -14,6 +14,7 @@ enum ppu_thread_flags : u64
|
|||||||
|
|
||||||
// SysCalls
|
// SysCalls
|
||||||
void sys_ppu_thread_exit(u64 errorcode);
|
void sys_ppu_thread_exit(u64 errorcode);
|
||||||
|
void sys_internal_ppu_thread_exit(u64 errorcode);
|
||||||
s32 sys_ppu_thread_yield();
|
s32 sys_ppu_thread_yield();
|
||||||
s32 sys_ppu_thread_join(u64 thread_id, mem64_t vptr);
|
s32 sys_ppu_thread_join(u64 thread_id, mem64_t vptr);
|
||||||
s32 sys_ppu_thread_detach(u64 thread_id);
|
s32 sys_ppu_thread_detach(u64 thread_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user