mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-12 01:38:29 +12:00
Update Windows build instructions
This commit is contained in:
parent
6217276681
commit
8a4abb8bbb
3 changed files with 14 additions and 25 deletions
|
@ -28,16 +28,6 @@ namespace coreinit
|
|||
osLib_returnFromFunction64(hCPU, osTime);
|
||||
}
|
||||
|
||||
uint64 coreinit_getTimeBase_dummy()
|
||||
{
|
||||
return __rdtsc();
|
||||
}
|
||||
|
||||
void export_OSGetSystemTimeDummy(PPCInterpreter_t* hCPU)
|
||||
{
|
||||
osLib_returnFromFunction64(hCPU, coreinit_getTimeBase_dummy());
|
||||
}
|
||||
|
||||
void export_OSGetSystemTime(PPCInterpreter_t* hCPU)
|
||||
{
|
||||
osLib_returnFromFunction64(hCPU, coreinit_getTimerTick());
|
||||
|
@ -371,14 +361,13 @@ namespace coreinit
|
|||
void InitializeTimeAndCalendar()
|
||||
{
|
||||
osLib_addFunction("coreinit", "OSGetTime", export_OSGetTime);
|
||||
osLib_addFunction("coreinit", "OSGetSystemTime", export_OSGetSystemTimeDummy);
|
||||
osLib_addFunction("coreinit", "OSGetSystemTime", export_OSGetSystemTime);
|
||||
osLib_addFunction("coreinit", "OSGetTick", export_OSGetTick);
|
||||
osLib_addFunction("coreinit", "OSGetSystemTick", export_OSGetSystemTick);
|
||||
|
||||
cafeExportRegister("coreinit", OSTicksToCalendarTime, LogType::Placeholder);
|
||||
cafeExportRegister("coreinit", OSCalendarTimeToTicks, LogType::Placeholder);
|
||||
|
||||
osLib_addFunction("coreinit", "OSGetSystemTime", export_OSGetSystemTime);
|
||||
|
||||
//timeTest();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue