mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-31 20:41:45 +01:00
Fixed errors of last commit
I forgot to modify one line of code that broke the entire solution. Now this is fixed. I also disabled the logging of sys_timer_usleep calls.
This commit is contained in:
parent
60261408c2
commit
620b8d0369
@ -49,7 +49,7 @@ int sys_ppu_thread_detach(u32 thread_id)
|
||||
{
|
||||
sysPrxForUser.Error("sys_ppu_thread_detach(thread_id=%d)", thread_id);
|
||||
|
||||
PPCThread* thr = Emu.GetCPU().GetThread(thread_id);
|
||||
CPUThread* thr = Emu.GetCPU().GetThread(thread_id);
|
||||
if(!thr) return CELL_ESRCH;
|
||||
|
||||
if(!thr->IsJoinable())
|
||||
|
@ -103,7 +103,7 @@ int sys_timer_sleep(u32 sleep_time)
|
||||
|
||||
int sys_timer_usleep(u64 sleep_time)
|
||||
{
|
||||
sys_timer.Warning("sys_timer_usleep(sleep_time=%lld)", sleep_time);
|
||||
sys_timer.Log("sys_timer_usleep(sleep_time=%lld)", sleep_time);
|
||||
if (sleep_time > 0xFFFFFFFFFFFF) sleep_time = 0xFFFFFFFFFFFF; //2^48-1
|
||||
wxMicroSleep(sleep_time); //TODO: If (sleep_time >= 2^32) shit may happen
|
||||
return CELL_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user