mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-25 08:33:27 +00:00
Implement a missing time function
This commit is contained in:
parent
45d42f09a1
commit
f226afc3ca
@ -412,7 +412,7 @@ const HLEFunction ThreadManForUser[] =
|
||||
|
||||
{0xba6b92e2,sceKernelSysClock2USec,"sceKernelSysClock2USec"},
|
||||
{0x110DEC9A,0,"sceKernelUSec2SysClock"},
|
||||
{0xC8CD158C,0,"sceKernelUSec2SysClockWide"},
|
||||
{0xC8CD158C,sceKernelUSec2SysClockWide,"sceKernelUSec2SysClockWide"},
|
||||
{0xE1619D7C,sceKernelSysClock2USecWide,"sceKernelSysClock2USecWide"},
|
||||
|
||||
{0x110dec9a,sceKernelUSec2SysClock,"sceKernelUSec2SysClock"},
|
||||
|
@ -99,6 +99,12 @@ void sceKernelSysClock2USecWide()
|
||||
RETURN(0);
|
||||
}
|
||||
|
||||
void sceKernelUSec2SysClockWide()
|
||||
{
|
||||
int usec = PARAM(0);
|
||||
RETURN(usec * 1000000); // ?
|
||||
}
|
||||
|
||||
void sceKernelLibcClock()
|
||||
{
|
||||
u32 retVal = clock()*1000;
|
||||
|
@ -26,6 +26,7 @@ void sceKernelGetSystemTimeLow();
|
||||
void sceKernelGetSystemTimeWide();
|
||||
void sceKernelSysClock2USec();
|
||||
void sceKernelSysClock2USecWide();
|
||||
void sceKernelUSec2SysClockWide();
|
||||
void sceRtcGetCurrentClockLocalTime();
|
||||
void sceRtcGetTickResolution();
|
||||
void sceRtcGetTick();
|
||||
|
Loading…
x
Reference in New Issue
Block a user