summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/romfs_factory.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-11-04core: Remove unused includesameerj1-1/+0
2021-11-02general: Remove MakeResult helpersMorph1-6/+4
This is made obsolete by the presence of implicit constructors.
2021-06-02general: Replace RESULT_UNKNOWN with ResultUnknownMorph1-3/+3
Transition to PascalCase for result names.
2021-05-06hle: kernel: Rename Process to KProcess.bunnei1-1/+1
2021-05-02file_sys: Resolve cases of variable shadowingLioncash1-2/+2
Brings us closer to enabling -Wshadow as an error in the core code.
2020-12-08fsp_srv: Implement OpenDataStorageWithProgramIndexMorph1-0/+22
- Used by RollerCoaster Tycoon 3: Complete Edition
2020-11-18patch_manager: Remove usages of the global system instanceLioncash1-2/+4
With this, only 19 usages of the global system instance remain within the core library. We're almost there.
2020-09-17file_sys/romfs_factory: Eliminate usage of the global system accessorLioncash1-25/+25
2019-11-12file_sys: Resolve sign conversion warningsLioncash1-2/+2
Resolves a few trivial sign conversion/mismatch errors.
2019-10-06hle/service: Replace global system instance calls with instance-based onesLioncash1-2/+2
Migrates the HLE service code off the use of directly accessing the global system instance where trivially able to do so. This removes all usages of Core::CurrentProcess from the service code, only 8 occurrences of this function exist elsewhere. There's still quite a bit of "System::GetInstance()" being used, however this was able to replace a few instances.
2019-09-21filesystem: Add const qualification to various accessorsZach Hilman1-2/+3
2019-09-21yuzu: Port old usages of Filesystem namespace to FilesystemControllerZach Hilman1-3/+8
2019-03-27core: Port current uses of RegisteredCache to ContentProviderZach Hilman1-1/+1
2018-12-02filesystem: De-globalize registered_cache_unionLioncash1-1/+1
We can just return a new instance of this when it's requested. This only ever holds pointers to the existing registed caches, so it's not a large object. Plus, this also gets rid of the need to keep around a separate member function just to properly clear out the union. Gets rid of one of five globals in the filesystem code.
2018-10-05romfs_factory: Extract packed update setter to new functionZach Hilman1-1/+4
2018-10-05patch_manager: Add support for packed updatesZach Hilman1-1/+3
Will prefer any installed update over the packed version.
2018-10-01romfs_factory: Read from all locations with StorageId NoneZach Hilman1-26/+25
Previous behavior was to assert. Seems to mirror expected game behavior.
2018-09-30kernel/process: Make data member variables privateLioncash1-1/+1
Makes the public interface consistent in terms of how accesses are done on a process object. It also makes it slightly nicer to reason about the logic of the process class, as we don't want to expose everything to external code.
2018-09-20file-sys: Default heavy-weight class destructors in the cpp fileLioncash1-0/+2
Several classes have a lot of non-trivial members within them, or don't but likely should have the destructor defaulted in the cpp file for future-proofing/being more friendly to forward declarations. Leaving the destructor unspecified allows the compiler to inline the destruction code all over the place, which is generally undesirable from a code bloat perspective.
2018-09-04bktr: Fix bucket overlap errorZach Hilman1-0/+1
2018-09-04bktr: Implement IVFC offset shiftingZach Hilman1-2/+3
Fixes base game read errors
2018-09-04patch_manager: Add usages of patches to ExeFSZach Hilman1-1/+10
2018-09-04file_sys: Replace includes with forward declarations where applicableLioncash1-3/+2
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
2018-08-21service/filesystem: Use forward declarations where applicableLioncash1-0/+1
Avoids the need to rebuild multiple source files if the filesystem code headers change. This also gets rid of a few instances of indirect inclusions being relied upon
2018-08-21romfs_factory: Remove unnecessary includes and use forward declarations where applicableLioncash1-2/+4
Avoids the need to rebuild whatever includes the romfs factory header if the loader header ever changes. We also don't need to include the main core header. We can instead include the headers we specifically need.
2018-08-20registration: Add Data_Unknown5 NCAContentTypeZach Hilman1-1/+1
2018-08-19filesystem: Add support for loading of system archivesZach Hilman1-2/+36
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman1-5/+3
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman1-14/+3
2018-07-08Revert "Virtual Filesystem (#597)"bunnei1-0/+38
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman1-38/+0
* 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
2018-07-03Rename logging macro back to LOG_*James Rowe1-3/+3
2018-04-25file-sys: Move logging macros over to the new fmt-capable onesLioncash1-3/+3
2018-03-04FS: Make EnsureSaveData create the savedata folder when called for the first time.Subv1-1/+1
2018-01-21file_sys: Clang format fixes.bunnei1-2/+1
2018-01-21file_sys: Cleanup to better match Switch file system constructs.bunnei1-0/+39
file_sys: Add factory class for RomFS file system.