Added OSTicksToCalendarTime + fix OSGetTick and OSGetTime types

This commit is contained in:
rw-r-r-0644 2016-09-19 18:30:02 +02:00 committed by GitHub
parent b86510632a
commit 19df1b9127

View File

@ -49,8 +49,10 @@ EXPORT_DECL(int, OSSetThreadPriority, void * thread, int priority);
EXPORT_DECL(int, OSJoinThread, void * thread, int * ret_val); EXPORT_DECL(int, OSJoinThread, void * thread, int * ret_val);
EXPORT_DECL(void, OSDetachThread, void * thread); EXPORT_DECL(void, OSDetachThread, void * thread);
EXPORT_DECL(void, OSSleepTicks, u64 ticks); EXPORT_DECL(void, OSSleepTicks, u64 ticks);
EXPORT_DECL(u64, OSGetTick, void); EXPORT_DECL(s64, OSGetTick, void);
EXPORT_DECL(u64, OSGetTime, void); EXPORT_DECL(s64, OSGetTime, void);
EXPORT_DECL(void, OSTicksToCalendarTime, s64 time, OSCalendarTime * calendarTime);
//!---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- //!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//! Mutex functions //! Mutex functions
@ -194,6 +196,8 @@ void InitOSFunctionPointers(void)
OS_FIND_EXPORT(coreinit_handle, OSSleepTicks); OS_FIND_EXPORT(coreinit_handle, OSSleepTicks);
OS_FIND_EXPORT(coreinit_handle, OSGetTick); OS_FIND_EXPORT(coreinit_handle, OSGetTick);
OS_FIND_EXPORT(coreinit_handle, OSGetTime); OS_FIND_EXPORT(coreinit_handle, OSGetTime);
OS_FIND_EXPORT(coreinit_handle, OSTicksToCalendarTime);
//!---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- //!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//! Mutex functions //! Mutex functions
//!---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- //!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------