mirror of
https://github.com/wiiu-env/libcontentredirection.git
synced 2024-11-21 19:09:17 +01:00
Fix types of function pointer
This commit is contained in:
parent
e04619c84f
commit
7a2fd2d624
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
static OSDynLoad_Module sModuleHandle = nullptr;
|
static OSDynLoad_Module sModuleHandle = nullptr;
|
||||||
|
|
||||||
static ContentRedirectionStatus (*sCRAddFSLayer)(CRLayerHandle *, const char *, const char *, FSLayerType) = nullptr;
|
static ContentRedirectionApiErrorType (*sCRAddFSLayer)(CRLayerHandle *, const char *, const char *, FSLayerType) = nullptr;
|
||||||
static ContentRedirectionStatus (*sCRRemoveFSLayer)(CRLayerHandle) = nullptr;
|
static ContentRedirectionApiErrorType (*sCRRemoveFSLayer)(CRLayerHandle) = nullptr;
|
||||||
static ContentRedirectionStatus (*sCRSetActive)(CRLayerHandle) = nullptr;
|
static ContentRedirectionApiErrorType (*sCRSetActive)(CRLayerHandle) = nullptr;
|
||||||
static ContentRedirectionVersion (*sCRGetVersion)() = nullptr;
|
static ContentRedirectionVersion (*sCRGetVersion)() = nullptr;
|
||||||
static ContentRedirectionStatus (*sCRAddDevice)(const devoptab_t *, int *) = nullptr;
|
static ContentRedirectionApiErrorType (*sCRAddDevice)(const devoptab_t *, int *) = nullptr;
|
||||||
static ContentRedirectionStatus (*sCRRemoveDevice)(const char *) = nullptr;
|
static ContentRedirectionApiErrorType (*sCRRemoveDevice)(const char *) = nullptr;
|
||||||
|
|
||||||
ContentRedirectionStatus ContentRedirection_InitLibrary() {
|
ContentRedirectionStatus ContentRedirection_InitLibrary() {
|
||||||
if (OSDynLoad_Acquire("homebrew_content_redirection", &sModuleHandle) != OS_DYNLOAD_OK) {
|
if (OSDynLoad_Acquire("homebrew_content_redirection", &sModuleHandle) != OS_DYNLOAD_OK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user