mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-24 21:26:52 +01:00
Add OSGetSharedData
This commit is contained in:
parent
e0b8a06f17
commit
c60dfd44ac
@ -118,6 +118,8 @@ EXPORT_DECL(bool, DisassemblePPCOpcode, u32 *, char *, u32, DisasmGetSym, u32);
|
||||
EXPORT_DECL(void*, OSGetSymbolName, u32, u8 *, u32);
|
||||
EXPORT_DECL(int, OSIsDebuggerInitialized, void);
|
||||
|
||||
EXPORT_DECL(bool, OSGetSharedData, u32 type, u32 unk_r4, u8 *addr, u32 *size);
|
||||
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! Memory functions
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
@ -285,6 +287,8 @@ void InitOSFunctionPointers(void){
|
||||
OS_FIND_EXPORT(coreinit_handle, DisassemblePPCOpcode);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSGetSymbolName);
|
||||
OS_FIND_EXPORT(coreinit_handle, OSIsDebuggerInitialized);
|
||||
|
||||
OS_FIND_EXPORT(coreinit_handle, OSGetSharedData);
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! Thread functions
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -201,6 +201,8 @@ extern bool (*DisassemblePPCOpcode)(u32 *opcode, char *outputBuffer, u32 bufferS
|
||||
extern void *(*OSGetSymbolName)(u32 addr, u8 *symbolName, u32 nameBufSize);
|
||||
extern int (*OSIsDebuggerInitialized)(void);
|
||||
|
||||
extern bool (*OSGetSharedData)(u32 type, u32 unk_r4, u8 *addr, u32 *size);
|
||||
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//! Memory functions
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user