From 8651c4bae7e0cef0edc330cd179d330e65b89b93 Mon Sep 17 00:00:00 2001 From: Exzap <13877693+Exzap@users.noreply.github.com> Date: Sat, 28 Jan 2023 10:57:59 +0100 Subject: [PATCH] coreinit: Correctly return success code in FSRemove --- src/Cafe/Filesystem/fscDeviceHostFS.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Cafe/Filesystem/fscDeviceHostFS.cpp b/src/Cafe/Filesystem/fscDeviceHostFS.cpp index da28700d..eeb0fb56 100644 --- a/src/Cafe/Filesystem/fscDeviceHostFS.cpp +++ b/src/Cafe/Filesystem/fscDeviceHostFS.cpp @@ -262,7 +262,6 @@ public: cemu_assert_unimplemented(); // return correct error (e.g. if directory is non-empty) *fscStatus = FSC_STATUS_FILE_NOT_FOUND; } - *fscStatus = FSC_STATUS_FILE_NOT_FOUND; return true; }