From ba1ea768e49b84646b84f8a36587cc60583e9114 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 8 Oct 2022 20:52:47 +0200 Subject: [PATCH] Use the correct path for the RemoveDevice call --- src/RPXLoading.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RPXLoading.cpp b/src/RPXLoading.cpp index 67cc696..0a4b671 100644 --- a/src/RPXLoading.cpp +++ b/src/RPXLoading.cpp @@ -347,7 +347,7 @@ RPXLoaderStatus RL_UnmountCurrentRunningBundle() { } int outRes = -1; - if (ContentRedirection_RemoveDevice(WUHB_ROMFS_NAME, &outRes) == CONTENT_REDIRECTION_RESULT_SUCCESS) { + if (ContentRedirection_RemoveDevice(WUHB_ROMFS_PATH, &outRes) == CONTENT_REDIRECTION_RESULT_SUCCESS) { if (outRes < 0) { DEBUG_FUNCTION_LINE_ERR("RemoveDevice \"%s\" failed for ContentRedirection Module", WUHB_ROMFS_NAME); OSFatal("RL_UnmountCurrentRunningBundle: RemoveDevice \"" WUHB_ROMFS_NAME "\" failed for ContentRedirection Module");