summaryrefslogtreecommitdiff
path: root/platform/flash/dir_access_flash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/flash/dir_access_flash.cpp')
-rw-r--r--platform/flash/dir_access_flash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/flash/dir_access_flash.cpp b/platform/flash/dir_access_flash.cpp
index 443242fd99..ce9eed2c59 100644
--- a/platform/flash/dir_access_flash.cpp
+++ b/platform/flash/dir_access_flash.cpp
@@ -183,12 +183,12 @@ size_t DirAccessFlash::get_space_left() {
Error DirAccessFlash::rename(String p_from, String p_to) {
- return FAILED;
+ ERR_FAIL_V(ERR_UNAVAILABLE);
};
Error DirAccessFlash::remove(String p_name) {
- return FAILED;
+ ERR_FAIL_V(ERR_UNAVAILABLE);
};
extern char* psp_drive;