diff --git a/include/content_redirection/redirection.h b/include/content_redirection/redirection.h index fae0450..6175250 100644 --- a/include/content_redirection/redirection.h +++ b/include/content_redirection/redirection.h @@ -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. diff --git a/source/utils.cpp b/source/utils.cpp index c9934c6..3e7d62d 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -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;