mirror of
https://github.com/wiiu-env/libcontentredirection.git
synced 2024-11-14 07:35:14 +01:00
Rename ContentRedirection_Init to ContentRedirection_InitLibrary
This commit is contained in:
parent
ad926f03f1
commit
811e5af19f
@ -70,7 +70,7 @@ typedef enum ContentRedirectionApiErrorType {
|
||||
* CONTENT_REDIRECTION_RESULT_MODULE_MISSING_EXPORT: The module is missing an expected export.
|
||||
* CONTENT_REDIRECTION_RESULT_UNSUPPORTED_VERSION: The version of the loaded module is not compatible with this version of the lib.
|
||||
*/
|
||||
ContentRedirectionStatus ContentRedirection_Init();
|
||||
ContentRedirectionStatus ContentRedirection_InitLibrary();
|
||||
|
||||
/**
|
||||
* Returns the API Version of the Content Redirection Module.
|
||||
|
@ -12,7 +12,7 @@ static ContentRedirectionVersion (*sCRGetVersion)()
|
||||
static ContentRedirectionStatus (*sCRAddDevice)(const devoptab_t *, int *) = nullptr;
|
||||
static ContentRedirectionStatus (*sCRRemoveDevice)(const char *) = nullptr;
|
||||
|
||||
ContentRedirectionStatus ContentRedirection_Init() {
|
||||
ContentRedirectionStatus ContentRedirection_InitLibrary() {
|
||||
if (OSDynLoad_Acquire("homebrew_content_redirection", &sModuleHandle) != OS_DYNLOAD_OK) {
|
||||
OSReport("ContentRedirection_Init: OSDynLoad_Acquire failed.\n");
|
||||
return CONTENT_REDIRECTION_RESULT_MODULE_NOT_FOUND;
|
||||
|
Loading…
Reference in New Issue
Block a user