From 9f972831cccb0063ee8ba2b080d8ded0143b88d6 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 22 Apr 2019 03:42:20 -0700 Subject: [PATCH] fs.mitm: fix data abort --- stratosphere/ams_mitm/source/fs_mitm/fsmitm_service.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stratosphere/ams_mitm/source/fs_mitm/fsmitm_service.cpp b/stratosphere/ams_mitm/source/fs_mitm/fsmitm_service.cpp index 517775854..0421ffb00 100644 --- a/stratosphere/ams_mitm/source/fs_mitm/fsmitm_service.cpp +++ b/stratosphere/ams_mitm/source/fs_mitm/fsmitm_service.cpp @@ -270,7 +270,8 @@ Result FsMitmService::OpenBisStorage(Out> out } else { /* Do not allow non-sysmodules to read *or* write CAL0. */ fsStorageClose(&bis_storage); - return ResultFsPermissionDenied; + rc = ResultFsPermissionDenied; + return rc; } } else { if (is_sysmodule || has_bis_write_flag) {