diff options
author | Zher Huei Lee <lee.zh.92@gmail.com> | 2016-03-01 10:40:31 +0000 |
---|---|---|
committer | Zher Huei Lee <lee.zh.92@gmail.com> | 2016-03-01 10:40:31 +0000 |
commit | d7052ddba334de3df1190837c6d8589b48799965 (patch) | |
tree | 1c53ccbfc0d9edcece7f158d58f25649d0051926 /platform/flash | |
parent | c0382a1731b2979ad6231720372dc850b2cd4db9 (diff) |
Added relative paths for DirAccess::remove()
Follows similar behaviour to DirAccess::rename()
Diffstat (limited to 'platform/flash')
-rw-r--r-- | platform/flash/dir_access_flash.cpp | 4 |
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; |