wwylele
96b0e9476b
fs: implement DeleteDirectoryRecursively
9 years ago
Emmanuel Gil Peyrot
ebdae19fd2
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
396a8d91a4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
Subv
95b34f8081
HLE/FS: Return the proper error codes when opening files.
10 years ago
Subv
96f0e32f83
HLE/FS: Return the proper error codes on file Read/Write operations.
These operations are limited by the open flags specified while opening the file.
10 years ago
Subv
09b0564c75
HLE/FS: Corrected the error codes for DeleteFile
10 years ago
Subv
381a5c053f
HLE/FS: FS::CreateFile takes an u64 for the file size.
10 years ago
archshift
5dfd2dba70
Implement FS_User::GetFreeBytes
10 years ago
Lioncash
d7bfda3e26
disk_archive: Remove unimplemented constructor declarations
10 years ago
Yuri Kunde Schlesner
a1f08788d9
Archive: Correct a few incorrect types in function signatures
Buffer lengths should be size_t, and file offsets should be u64.
11 years ago
Emmanuel Gil Peyrot
e5fcabdd69
Core: Cleanup file_sys includes.
11 years ago
Yuri Kunde Schlesner
6f89d25f90
FileSys: Clean-up includes, de-inline destructors
11 years ago
Emmanuel Gil Peyrot
bdcf28e3bc
Headers: Add some forgotten overrides, thanks clang!
11 years ago
Yuri Kunde Schlesner
3f1a3952d7
FS: Allow multiple instances of the same archive type to be open at once
11 years ago
Yuri Kunde Schlesner
930e13cb2c
FileSys: Fix crash bug in DiskFile exposed by #400
11 years ago
Yuri Kunde Schlesner
19b2e739c5
FileSys: Fix a few memory leaks
11 years ago
Subv
2c89d4d5cd
Archives: Implemented ExtSaveData and SharedExtSaveData
They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively.
Also redirect some APT_A functions to their APT_U equivalents.
Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module.
Implemented formatting the savegame.
Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
11 years ago
Emmanuel Gil Peyrot
bbe0bf1332
FileSys: Clean up according to the coding style, and remove redundant namespaced names.
11 years ago
Subv
6115f013a9
CFG: Create a new subfolder cfg inside service to handle cfg
Moved most of the shared CFG code there, implemented a few CFG:I functions
11 years ago
archshift
0625dd09ea
Added CreateFile to the FS_USER service
Tested with hwtests.
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Subv
ea9ce0fba7
Filesystem/Archives: Implemented the SaveData archive
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information
Got rid of the code duplication in File and Directory
Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive.
FS_U: Use the correct error code when a file wasn't found
11 years ago