Lioncash
a1dc050bbf
file-sys: Move logging macros over to the new fmt-capable ones
8 years ago
mailwl
8fffc0962c
Service/FS: implement IFileSystem::RenameFile
8 years ago
Lioncash
5b8891df28
disk_filesystem: Remove unused total_entries_in_directory member from Disk_Directory
8 years ago
Lioncash
eb2bb5500e
disk_filesystem: Remove redundant initializer in Disk_Directory's constructor
8 years ago
Lioncash
19fe9a92ec
disk_filesystem: Make constructors explicit where applicable
8 years ago
shinyquagsire23
5634f49b60
file_sys: Use NGLOG
8 years ago
shinyquagsire23
13ab489cb7
file_sys: tweaks
8 years ago
shinyquagsire23
bba0a351e7
file_sys: Add HFS/PFS helper component
8 years ago
bunnei
dc852fda3b
fsp_srv: Implement DeleteFile.
- Used by Binding of Isaac.
8 years ago
bunnei
db8fc2ea57
fsp_srv: Implement GetSize and SetSize.
8 years ago
Subv
6610bee69e
FS: Move the file open mode calculation to a separate function.
8 years ago
Subv
43295efd0e
FS: Implemented IFileSystem::CreateDirectory.
8 years ago
Subv
bf1c4bf16c
FS: Implement DiskFileSystem's OpenDirectory interface.
8 years ago
Subv
7de15c22f3
FS: Implement DiskFileSystem::GetEntryType for existing files/directories.
8 years ago
Subv
e4b4b765b6
FS: Updated the Directory Entry structure to match the Switch.
8 years ago
Subv
8144364cc2
FS: Support the file Append open mode.
8 years ago
Subv
a079723254
FS: Added an SDMC archive factory and registered it to the SDMC archive on startup.
8 years ago
bunnei
f16763ed52
core: Move process creation out of global state.
8 years ago
Subv
cb738dedb2
FS: Use the correct error code when trying to open files that don't exist.
8 years ago
Subv
9702f6c2ed
FS: Make EnsureSaveData create the savedata folder when called for the first time.
8 years ago
Subv
b874d4f2b0
SaveData: Use the current titleid when opening the savedata archive.
8 years ago
Subv
dfdc72efa7
Filesystem: Added a SaveData Factory and associated Disk_FileSystem.
8 years ago
shinyquagsire23
b48d598627
file_sys: Style tweaks
Asdf
8 years ago
shinyquagsire23
e3c753a14c
file_sys: Add support for parsing NPDM files
8 years ago
bunnei
a2c082be79
file_sys: Clang format fixes.
8 years ago
bunnei
0446482361
file_sys: Cleanup to better match Switch file system constructs.
file_sys: Add factory class for RomFS file system.
8 years ago
bunnei
f3cfe5caac
file_sys: Remove disk_archive, savedata_archive, and title_metadata.
8 years ago
bunnei
9d9038a32f
archive_backend: Minor changes to match Switch IFileSystem.
8 years ago
bunnei
bc4d08fe34
file_sys: Repurpose 3DS IVFC code for Switch ROMFS.
8 years ago
James Rowe
ea88c44eb8
Format: Run the new clang format on everything
8 years ago
N00byKing
a244896e75
Update title_metadata.h
8 years ago
bunnei
2817ec4da4
core: Gut out cryptop, since it doesn't compile with C++17.
8 years ago
bunnei
714dd3da6d
hle: Use Switch formatted result codes.
8 years ago
bunnei
5e11c12766
core: Refactor MakeMagic usage and remove dead code.
8 years ago
bunnei
5993f6f6de
Remove lots more 3DS-specific code.
8 years ago
shinyquagsire23
9c8cdede44
file_sys, loader: add support for reading TMDs to determine app paths
8 years ago
shinyquagsire23
f6564f232e
file_sys: add class for Title Metadata (TMD)
8 years ago
shinyquagsire23
a151c0edec
file_sys/ncch_container: add RomFS, ExeFS override to allow for backward compatibility with existing .romfs system archive dumps
8 years ago
shinyquagsire23
2f8af214f8
file_sys/archive_ncch: use NCCHContainer instead of loading .romfs files
8 years ago
bunnei
6d3b6e0041
nso: Refactor and allocate .bss section.
8 years ago
Subv
f2b635a73d
HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently.
The loaders now register each loaded ROM with the SelfNCCH factory, which keeps the data around for the duration of the emulation session.
When opening the SelfNCCH archive, the factory queries the current program's programid and uses that as a key to the map that contains the NCCHData structure (RomFS, Icon, Banner, etc).
3dsx files do not have a programid and will use a default of 0 for this value, thus, only 1 3dsx file with RomFS is loadable at the same time.
8 years ago
Max Thomas
042b389b57
Loader/NCCH: Add support for loading application updates ( #2927 )
* loader/ncch: split NCCH parsing into its own file
* loader/ncch: add support for loading update NCCHs from the SD card
* loader/ncch: fix formatting
* file_sys/ncch_container: Return a value for OpenFile
* loader/ncch: cleanup, always instantiate overlay_ncch to base_ncch
* file_sys/ncch_container: better encryption checks, allow non-app NCCHs to load properly and for the existence of NCCH structures to be checked
* file_sys/ncch_container: pass filepath as a const reference
8 years ago
Subv
f94bd67a0d
Warnings: Add UNREACHABLE macros to switches that contemplate all possible values.
8 years ago
James
9da055f84c
Handle invalid filenames when renaming files/directories
9 years ago
TheKoopaKingdom
e0f8f75f43
Addressed Bunnei's review comments, and made some other tweaks:
- Deleted GetStatus() because it wasn't used anywhere outside of Core::System.
- Fixed design flaw where the message bar status could be set despite the game being stopped.
9 years ago
TheKoopaKingdom
fa11f957f4
Switched to the ERROR_NOT_FOUND constant from errors.h.
9 years ago
TheKoopaKingdom
af0a2f11d9
Moved whitelist checks from FS_User to the Archive_NCCH handler.
9 years ago
TheKoopaKingdom
cee9b78a15
Made some changes from review comments:
- Made LoadKernelSystemMode return a pair consisting of a system mode and a result code (Could use review).
- Deleted ErrorOpenGL error code in favor of just having ErrorVideoCore.
- Made dialog messages more clear.
- Compared archive ID in fs_user.cpp to ArchiveIdCode::NCCH as opposed to hex magic.
- Cleaned up some other stuff.
9 years ago
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