Added MCP_GetDeviceId

This commit is contained in:
Maschell 2017-10-30 19:09:59 +01:00
parent 05f6c925bf
commit db7554293e
2 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,7 @@ EXPORT_DECL(s32, OSIsAddressValid, const void *ptr);
EXPORT_DECL(s32, MCP_Open, void);
EXPORT_DECL(s32, MCP_Close, s32 handle);
EXPORT_DECL(s32, MCP_GetOwnTitleInfo, s32 handle, void * data);
EXPORT_DECL(void*, MCP_GetDeviceId, s32 handle, u32 * id);
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//! Loader functions (not real rpl)
@ -327,6 +328,7 @@ void InitOSFunctionPointers(void)
OS_FIND_EXPORT(coreinit_handle, MCP_Open);
OS_FIND_EXPORT(coreinit_handle, MCP_Close);
OS_FIND_EXPORT(coreinit_handle, MCP_GetOwnTitleInfo);
OS_FIND_EXPORT(coreinit_handle, MCP_GetDeviceId);
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//! Memory functions

View File

@ -226,6 +226,7 @@ extern s32 (* OSIsAddressValid)(const void *ptr);
extern s32 (* MCP_Open)(void);
extern s32 (* MCP_Close)(s32 handle);
extern s32 (* MCP_GetOwnTitleInfo)(s32 handle, void * data);
extern void* (* MCP_GetDeviceId)(s32 handle, u32 * id);
//!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//! LOADER functions