vaguilar
223e76d51d
Fixed formatting and switch statement warnings
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
Lioncash
548c49dfe9
directory_sdmc: Fix a signed/unsigned mismatch comparison
11 years ago
Lioncash
1a8f466217
Remove extraneous semicolons
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
Sean
9a012ff007
Fix some warnings
11 years ago
archshift
a59f57d504
Use config files to store whether SDMC is enabled or not
Before, it used to use whether the directory actually existed. As a result, .citra-emu/sdmc was never auto-created (something quite confusing to me until I read through the logs).
11 years ago
Emmanuel Gil Peyrot
fbd72fd6bf
Common: Add a helper function to generate a 8.3 filename from a long one.
Core: Fix the SDMC Directory implementation to make blargSnes work.
11 years ago
Emmanuel Gil Peyrot
19c2a96ab0
FileSys: Add static asserts for the Directory struct, and fix its fields position.
11 years ago
Emmanuel Gil Peyrot
0be5c03176
FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.
Kernel: Return an invalid handle to OpenFile when it failed to open.
11 years ago
Emmanuel Gil Peyrot
23c2fbfc7a
FileSys/Kernel: Implement SetSize service call for File objects.
11 years ago
Emmanuel Gil Peyrot
d34673990b
FileSys: Add forgotten docstrings.
11 years ago
Lioncash
ca2f0de08a
Fix warnings in core and common
11 years ago
Emmanuel Gil Peyrot
c14e5713f5
Core: Add a method to obtain a Directory from an Archive.
11 years ago
Emmanuel Gil Peyrot
33b0d1081e
Core: Add a Directory object, with both a stub and a passthrough implementations.
11 years ago
Emmanuel Gil Peyrot
e73caaefe5
Core: Add a passthrough backend for the filesystem, exposed as SDMC.
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
1099d83455
Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".
12 years ago
bunnei
2d734bb6c5
Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"
12 years ago
bunnei
2c62d92551
Loader: Updated read methods to be const
- Required "file" handle to be made local and explicitly opened/closed as needed
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
bunnei
0cc3e85685
Core: Removed unused directory_file_system and meta_file_system modules.
Core: Updated CMakeLists.txt to remove directory_file_system and meta_file_system modules.
12 years ago
bunnei
7a136b8a84
fixes to build on linux
12 years ago
bunnei
de0a034a84
fixed project includes to use new directory structure
12 years ago
bunnei
63e46abdb8
got rid of 'src' folders in each sub-project
12 years ago