mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
Implement RenameFile for ExtSaveData
This commit is contained in:
parent
4199c3b25b
commit
2f47f15315
3 changed files with 44 additions and 0 deletions
|
@ -15,4 +15,10 @@ namespace Result::FS {
|
|||
// Trying to access an archive that needs formatting and has not been formatted
|
||||
DEFINE_HORIZON_RESULT(NotFormatted, 340, InvalidState, Status);
|
||||
DEFINE_HORIZON_RESULT(UnexpectedFileOrDir, 770, NotSupported, Usage);
|
||||
|
||||
// Trying to rename a file that doesn't exist or is a directory
|
||||
DEFINE_HORIZON_RESULT(RenameNonexistentFileOrDir, 120, NotFound, Status);
|
||||
|
||||
// Trying to rename a file but the destination already exists
|
||||
DEFINE_HORIZON_RESULT(RenameFileDestExists, 190, NothingHappened, Status);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue