From 60f7c6f2be1bb5b82d5dc5c0942e651ae29677aa Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 3 Sep 2022 17:31:14 +0200 Subject: [PATCH] Fix sCRAddDevice and sCRRemoveDevice decleration --- source/utils.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/utils.cpp b/source/utils.cpp index 9284e54..4bde71d 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -9,9 +9,8 @@ static ContentRedirectionApiErrorType (*sCRAddFSLayer)(CRLayerHandle *, const ch static ContentRedirectionApiErrorType (*sCRRemoveFSLayer)(CRLayerHandle) = nullptr; static ContentRedirectionApiErrorType (*sCRSetActive)(CRLayerHandle) = nullptr; static ContentRedirectionApiErrorType (*sCRGetVersion)(ContentRedirectionVersion *) = nullptr; -static ContentRedirectionApiErrorType (*sCRAddDevice)(const devoptab_t *, int *) = nullptr; -static ContentRedirectionApiErrorType (*sCRRemoveDevice)(const char *) = nullptr; - +static int (*sCRAddDevice)(const devoptab_t *, int *) = nullptr; +static int (*sCRRemoveDevice)(const char *) = nullptr; static ContentRedirectionVersion sContentRedirectionVersion = CONTENT_REDIRECTION_MODULE_VERSION_ERROR;