mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Sign extend sceKernelUSec2SysClock().
Wow, I guess this has been broken forever.
This commit is contained in:
parent
002aed1080
commit
4a444776ab
1 changed files with 2 additions and 2 deletions
|
@ -80,9 +80,9 @@ u64 sceKernelGetSystemTimeWide()
|
|||
|
||||
int sceKernelUSec2SysClock(u32 usec, u32 clockPtr)
|
||||
{
|
||||
DEBUG_LOG(SCEKERNEL,"sceKernelUSec2SysClock(%i, %08x )", usec, clockPtr);
|
||||
DEBUG_LOG(SCEKERNEL,"sceKernelUSec2SysClock(%i, %08x)", usec, clockPtr);
|
||||
if (Memory::IsValidAddress(clockPtr))
|
||||
Memory::Write_U32((usec & 0xFFFFFFFFL), clockPtr);
|
||||
Memory::Write_U64((usec & 0xFFFFFFFFL), clockPtr);
|
||||
hleEatCycles(165);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue