Usec2Sysclock fixes
This commit is contained in:
parent
7fbf914821
commit
3f0816cd05
3 changed files with 9 additions and 10 deletions
|
@ -90,6 +90,12 @@ int sceKernelUSec2SysClock(u32 microsec, u32 clockPtr)
|
|||
return 0;
|
||||
}
|
||||
|
||||
u64 sceKernelUSec2SysClockWide(u32 usec)
|
||||
{
|
||||
DEBUG_LOG(HLE, "sceKernelUSec2SysClockWide(%i)", usec);
|
||||
return usec; // ?
|
||||
}
|
||||
|
||||
int sceKernelSysClock2USec(u32 sysclockPtr, u32 highPtr, u32 lowPtr)
|
||||
{
|
||||
DEBUG_LOG(HLE, "sceKernelSysClock2USec(clock = %08x, lo = %08x, hi = %08x)", sysclockPtr, highPtr, lowPtr);
|
||||
|
@ -114,12 +120,6 @@ int sceKernelSysClock2USecWide(u32 lowClock, u32 highClock, u32 lowPtr, u32 high
|
|||
return 0;
|
||||
}
|
||||
|
||||
u32 sceKernelUSec2SysClockWide(u32 usec)
|
||||
{
|
||||
DEBUG_LOG(HLE, "sceKernelUSec2SysClockWide(%i)", usec);
|
||||
return usec * 1000000; // ?
|
||||
}
|
||||
|
||||
u32 sceKernelLibcClock()
|
||||
{
|
||||
u32 retVal = (u32) (CoreTiming::GetTicks() / CoreTiming::GetClockFrequencyMHz());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue