mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-18 02:39:26 +01:00
Added OSTicksToCalendarTime + fix OSGetTick and OSGetTime types
This commit is contained in:
parent
b86510632a
commit
19df1b9127
@ -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
|
||||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user