mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-19 03:09:24 +01:00
add OSScreenShutdown
This commit is contained in:
parent
e2482f9e32
commit
9d75f910f1
@ -94,6 +94,7 @@ EXPORT_DECL(s32, __os_snprintf, char* s, s32 n, const char * format, ...);
|
||||
EXPORT_DECL(s32 *, __gh_errno_ptr, void);
|
||||
|
||||
EXPORT_DECL(void, OSScreenInit, void);
|
||||
EXPORT_DECL(void, OSScreenShutdown, void);
|
||||
EXPORT_DECL(u32, OSScreenGetBufferSizeEx, u32 bufferNum);
|
||||
EXPORT_DECL(s32, OSScreenSetBufferEx, u32 bufferNum, void * addr);
|
||||
EXPORT_DECL(s32, OSScreenClearBufferEx, u32 bufferNum, u32 temp);
|
||||
@ -244,6 +245,7 @@ void InitOSFunctionPointers(void)
|
||||
OSDynLoad_FindExport(coreinit_handle, 0, "_Exit", &__Exit);
|
||||
|
||||
OS_FIND_EXPORT(coreinit_handle, OSScreenInit);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSScreenShutdown);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSScreenGetBufferSizeEx);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSScreenSetBufferEx);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSScreenClearBufferEx);
|
||||
|
@ -132,6 +132,7 @@ extern s32 (* __os_snprintf)(char* s, s32 n, const char * format, ...);
|
||||
extern s32 * (* __gh_errno_ptr)(void);
|
||||
|
||||
extern void (*OSScreenInit)(void);
|
||||
extern void (*OSScreenShutdown)(void);
|
||||
extern u32 (*OSScreenGetBufferSizeEx)(u32 bufferNum);
|
||||
extern s32 (*OSScreenSetBufferEx)(u32 bufferNum, void * addr);
|
||||
extern s32 (*OSScreenClearBufferEx)(u32 bufferNum, u32 temp);
|
||||
|
Loading…
Reference in New Issue
Block a user