mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-22 04:19:15 +01:00
Add MCP_TitleCount and MCP_TitleList
This commit is contained in:
parent
c60dfd44ac
commit
7d3d9178d2
@ -152,6 +152,8 @@ EXPORT_DECL(s32, OSGetMemBound, s32 type, u32 * startAddress, u32 * size);
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
EXPORT_DECL(s32, MCP_Open, void);
|
||||
EXPORT_DECL(s32, MCP_Close, s32 handle);
|
||||
EXPORT_DECL(s32, MCP_TitleCount, s32 handle);
|
||||
EXPORT_DECL(s32, MCP_TitleList, s32 handle, s32 *res, void *data, s32 count);
|
||||
EXPORT_DECL(s32, MCP_GetOwnTitleInfo, s32 handle, void *data);
|
||||
EXPORT_DECL(void*, MCP_GetDeviceId, s32 handle, u32 * id);
|
||||
|
||||
@ -340,6 +342,8 @@ void InitOSFunctionPointers(void){
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
OS_FIND_EXPORT(coreinit_handle, MCP_Open);
|
||||
OS_FIND_EXPORT(coreinit_handle, MCP_Close);
|
||||
OS_FIND_EXPORT(coreinit_handle, MCP_TitleCount);
|
||||
OS_FIND_EXPORT(coreinit_handle, MCP_TitleList);
|
||||
OS_FIND_EXPORT(coreinit_handle, MCP_GetOwnTitleInfo);
|
||||
OS_FIND_EXPORT(coreinit_handle, MCP_GetDeviceId);
|
||||
|
||||
|
@ -233,6 +233,8 @@ extern s32 (* OSGetMemBound)(s32 type, u32 * startAddress, u32 * size);
|
||||
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
extern s32 (* MCP_Open)(void);
|
||||
extern s32 (* MCP_Close)(s32 handle);
|
||||
extern s32 (* MCP_TitleCount)(s32 handle);
|
||||
extern s32 (* MCP_TitleList)(s32 handle, s32 *res, void *data, s32 count);
|
||||
extern s32 (* MCP_GetOwnTitleInfo)(s32 handle, void *data);
|
||||
extern void* (* MCP_GetDeviceId)(s32 handle, u32 * id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user