bunnei
913896cbd9
Revert "Virtual Filesystem ( #597 )"
This reverts commit 77c684c114 .
8 years ago
Zach Hilman
77c684c114
Virtual Filesystem ( #597 )
* Add VfsFile and VfsDirectory classes
* Finish abstract Vfs classes
* Implement RealVfsFile (computer fs backend)
* Finish RealVfsFile and RealVfsDirectory
* Finished OffsetVfsFile
* More changes
* Fix import paths
* Major refactor
* Remove double const
* Use experimental/filesystem or filesystem depending on compiler
* Port partition_filesystem
* More changes
* More Overhaul
* FSP_SRV fixes
* Fixes and testing
* Try to get filesystem to compile
* Filesystem on linux
* Remove std::filesystem and document/test
* Compile fixes
* Missing include
* Bug fixes
* Fixes
* Rename v_file and v_dir
* clang-format fix
* Rename NGLOG_* to LOG_*
* Most review changes
* Fix TODO
* Guess 'main' to be Directory by filename
8 years ago
James Rowe
0d46f0df12
Update clang format
8 years ago
James Rowe
638956aa81
Rename logging macro back to LOG_*
8 years ago
Lioncash
5aafc83cc9
file-sys: Move logging macros over to the new fmt-capable ones
8 years ago
mailwl
a0179e5ca5
Service/FS: implement IFileSystem::RenameFile
8 years ago
bunnei
bddad50dd4
fsp_srv: Implement DeleteFile.
- Used by Binding of Isaac.
8 years ago
Subv
eff3f60b73
FS: Implemented IFileSystem::CreateDirectory.
8 years ago
Subv
6d90d99d12
FS: Implement DiskFileSystem's OpenDirectory interface.
8 years ago
Subv
d140c8ecf7
Filesystem: Added a SaveData Factory and associated Disk_FileSystem.
8 years ago
bunnei
5035d18baa
file_sys: Clang format fixes.
8 years ago
bunnei
00851a5ef4
file_sys: Cleanup to better match Switch file system constructs.
file_sys: Add factory class for RomFS file system.
8 years ago
bunnei
7988f02489
archive_backend: Minor changes to match Switch IFileSystem.
8 years ago
bunnei
2f71a32363
file_sys: Repurpose 3DS IVFC code for Switch ROMFS.
8 years ago
bunnei
34571f4d2e
hle: Use Switch formatted result codes.
9 years ago
wwylele
4dd8a831bd
FileSys: make Archive interfaces return error code
and make the mode parameter a reference since it is a BitField union
10 years ago
wwylele
96b0e9476b
fs: implement DeleteDirectoryRecursively
10 years ago
Yuri Kunde Schlesner
84fbbe2629
Use negative priorities to avoid special-casing the self-include
10 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.
10 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
10 years ago
MerryMage
a06dcfeb61
Common: Remove Common::make_unique, use std::make_unique
10 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
11 years ago
Lioncash
a97d9613a7
ivfc_archive: Fix a printf specifier
11 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
condut
c385b7767d
FS: Stream RomFS from file instead of loading all of it to memory
11 years ago
Emmanuel Gil Peyrot
e5fcabdd69
Core: Cleanup file_sys includes.
11 years ago
Emmanuel Gil Peyrot
45c4781544
CitraQt: Cleanup includes.
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
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
22cfa55302
IVFCArchive: Use a critical log to notify of invalid operations.
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