Subv
e248331abc
HLE/FS: Corrected the error codes for DeleteFile
10 years ago
Subv
3c9508c468
HLE/FS: FS::CreateFile takes an u64 for the file size.
10 years ago
Lioncash
4a87f38e9c
archive_backend: Remove unnecessary const from return types
This doesn't return by reference so const isn't really necessary
10 years ago
archshift
5da25ae7d0
Implement FS_User::GetFreeBytes
10 years ago
Yuri Kunde Schlesner
b89f644cfe
FileSys: De-inline Path members
11 years ago
Yuri Kunde Schlesner
6f89d25f90
FileSys: Clean-up includes, de-inline destructors
11 years ago
Yuri Kunde Schlesner
3f1a3952d7
FS: Allow multiple instances of the same archive type to be open at once
11 years ago
Subv
aade417b14
Archives: Reduced duplicate code in RomFS and SaveCheck.
Fixed a few warnings and cleaned up the code
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
fa3d72ab3e
CFG: Implemented the GetConfigInfoBlk2 function.
Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it.
Implemented GetSystemModel and GetModelNintendo2DS
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
Chin
e795692614
Clean up some warnings
11 years ago
Yuri Kunde Schlesner
83e6e4ffec
FS.Archive: Clean up treatment of archives and their handles
- Refactor FS::Archive internals to make Archive creation and lifetime
management clearer.
- Remove the "Archive as a File" hack.
- Implement 64-bit Archive handles.
11 years ago
Yuri Kunde Schlesner
0931a42af0
Service.FS: Rename FileSys::File to FileBackend
11 years ago
Yuri Kunde Schlesner
d51afab0bc
Service.FS: Rename FileSys::Directory to DirectoryBackend
11 years ago
Yuri Kunde Schlesner
82fe821e87
Service.FS: Rename FileSys::Archive to ArchiveBackend
11 years ago
Yuri Kunde Schlesner
f6153679b0
Service.FS: Do archive registration using IdCode instead of name
11 years ago
Yuri Kunde Schlesner
0600e2d8b5
Convert old logging calls to new logging macros
11 years ago
vaguilar
223e76d51d
Fixed formatting and switch statement warnings
11 years ago
archshift
e5ff01c2cd
Implemented RenameDirectory in FS:USER
11 years ago
archshift
45afc15aa6
Implemented RenameFile in FS:USER
11 years ago
archshift
8aeadbd95a
Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
11 years ago
Emmanuel Gil Peyrot
f5d38649c7
Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
11 years ago
bunnei
a3107a6b57
FileSys: Updated backend code to use FileSys::Path instead of string for paths.
11 years ago
bunnei
c04a04189a
FileSys: Added DebugStr method to Path class.
11 years ago
archshift
1f7c4ab7f6
Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functions
11 years ago
archshift
04c90c395d
Added CreateDirectory function to service/fs.cpp, and in Archive.
11 years ago
Emmanuel Gil Peyrot
c14e5713f5
Core: Add a method to obtain a Directory from an Archive.
11 years ago
Emmanuel Gil Peyrot
9251f7e2f8
Core: Add a new File class, obtainable from an Archive, and a stub implementation.
11 years ago
archshift
4c4a01bf41
Added FS functions to Archive and Archive_RomFS
12 years ago
bunnei
17a6148f9d
FileSys: Added preliminary support for applications reading the RomFS archive.
Archive: Fixed brace ugliness for neobrain :)
FS: Commented out unused local variables to prevent warnings.
...But keeping them here for future use.
archive_romfs: Removed unused #include.
12 years ago