Yuri Kunde Schlesner
2d147a1c0d
FileSys: Move all result description to errors.h
9 years ago
wwylele
2ca691aab8
file_sys: lower log level for setting host path
9 years ago
Mat M
dc1927a9d1
Doxygen: Amend minor issues ( #2593 )
Corrects a few issues with regards to Doxygen documentation, for example:
- Incorrect parameter referencing.
- Missing @param tags.
- Typos in @param tags.
and a few minor other issues.
9 years ago
wwylele
05a989965a
loader: use self NCCH archive
9 years ago
wwylele
2fff7f897b
file_sys: add Self NCCH archive
9 years ago
Kloen
e1ee6f6224
core: fix savedata_archive.cpp warnings about unhandled enumeration values on OSX
9 years ago
Kloen
806db8e491
core: fix archive_sdmc.cpp warnings about unhandled enumeration value on OSX
9 years ago
Kloen
c6201827f5
core: fix archive_extsavedata.cpp warning on OSX
9 years ago
bunnei
1fd7cfb69e
Address clang-format issues.
9 years ago
bunnei
5d22844f3e
core: Remove HLE module, consolidate code & various cleanups.
9 years ago
MerryMage
6e2d70a777
archive_source_sd_savedata: Add static method to get a specific save data path
9 years ago
Lioncash
6ba0395316
file_sys: Make a few single-argument constructors explicit
Prevents implicit conversions.
9 years ago
wwylele
1e4a1598fd
FileSys: Implement OtherSaveData
9 years ago
wwylele
37e9404489
FileSys: abstract SD save data archive source
9 years ago
wwylele
01964d37fb
FileSys: rename SaveDataCheck archive to NCCH archive
According to the observation from game and 3dbrew "Used for accessing general NCCH data"
9 years ago
wwylele
bfc699293f
FileSys: remove unused DiskArchive
All "subclasses" of DiskArchive are splitted out. This class is useless
9 years ago
wwylele
5506268bf6
FileSys: w->rw permission lift only happens in SDMC archive
9 years ago
wwylele
a14bab3b8b
FileSys: add SDMCWriteOnlyArchive
9 years ago
wwylele
76c8e607a4
FileSys: add SDMCArchive
Now DiskArchive only serves for SDMC, then it should be just a "SDMCArchive"
9 years ago
wwylele
4a80f45637
FileSys: add ExtSaveDataArchive
ExtSaveData is more similar to SaveData, so let it be a subclass of SaveData
9 years ago
wwylele
420091d0e5
FileSys: add SaveDataArchive
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.
9 years ago
wwylele
1e33d07b86
FileSys: remove Open from FileBackend
Same as directory, file shouldn't expose Open either.
9 years ago
wwylele
4675116401
FileSys: remove Open from DirectoryBackend
Open should not be an interface exposed by Directory because it is the Archive thats implement the methed to open the directory. The service API of 3DS also implies this - Open is not a function of directory service, but is of FS main service
9 years ago
wwylele
37d6cbc200
FileSys: add PathParser
9 years ago
wwylele
657bb716f7
FileSys: make Archive interfaces return error code
and make the mode parameter a reference since it is a BitField union
9 years ago
wwylele
b2fa64ec75
fs: implement DeleteDirectoryRecursively
9 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
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
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
MerryMage
4ed7963687
FileSys/Path: Replace Memory::GetPointer with Memory::ReadBlock
10 years ago
MerryMage
9f9c987924
Common: Remove Common::make_unique, use std::make_unique
10 years ago
Lioncash
01cd6fbef4
archive_extsavedata: Fix member initialization order
shared appears in the initializer list before mount_point
10 years ago
Subv
b94133bd71
HLE/FS: Change the error code returned when an ExtSaveData archive is not found.
This allows Fire Emblem to boot again.
10 years ago
Subv
438f0cb335
HLE/FS: Corrected some style concerns.
10 years ago
Subv
9773d90363
HLE/FS: Implemented GetFormatInfo
Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive.
10 years ago
Subv
6983167205
HLE/FS: Return the proper error codes when opening files.
10 years ago
Subv
bbbdb660af
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
e248331abc
HLE/FS: Corrected the error codes for DeleteFile
10 years ago
Subv
33fe4fe894
HLE/FS: Corrected the error codes for CreateFile
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
Subv
155cba90f3
DiskDirectory: Initialize the directory member with valid info.
10 years ago
archshift
5da25ae7d0
Implement FS_User::GetFreeBytes
10 years ago
Lioncash
42e88c9a16
ivfc_archive: Fix a printf specifier
10 years ago
Lioncash
62c80d9331
disk_archive: Remove unimplemented constructor declarations
10 years ago
Subv
3334ae7b74
Services/FS: Correctly tell the guest app whether a file was correctly opened or not.
Closes #1067
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
Yuri Kunde Schlesner
2d7299a86f
Loader: Remove unnecessary pointer indirection to IOFile
11 years ago
condut
c385b7767d
FS: Stream RomFS from file instead of loading all of it to memory
11 years ago