aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/romfs_factory.cpp
AgeCommit message (Collapse)Author
2023-12-01file_sys: handle null romfsLiam
2023-08-15vfs: expand support for NCA readingLiam
2023-08-08core: remove ResultVal typeLiam
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-11-03core: Remove unused includesameerj
2021-11-02general: Remove MakeResult helpersMorph
This is made obsolete by the presence of implicit constructors.
2021-06-02general: Replace RESULT_UNKNOWN with ResultUnknownMorph
Transition to PascalCase for result names.
2021-05-05hle: kernel: Rename Process to KProcess.bunnei
2021-05-02file_sys: Resolve cases of variable shadowingLioncash
Brings us closer to enabling -Wshadow as an error in the core code.
2020-12-08fsp_srv: Implement OpenDataStorageWithProgramIndexMorph
- Used by RollerCoaster Tycoon 3: Complete Edition
2020-11-18patch_manager: Remove usages of the global system instanceLioncash
With this, only 19 usages of the global system instance remain within the core library. We're almost there.
2020-09-16file_sys/romfs_factory: Eliminate usage of the global system accessorLioncash
2019-11-12file_sys: Resolve sign conversion warningsLioncash
Resolves a few trivial sign conversion/mismatch errors.
2019-10-06hle/service: Replace global system instance calls with instance-based onesLioncash
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 Hilman
2019-09-21yuzu: Port old usages of Filesystem namespace to FilesystemControllerZach Hilman
2019-03-26core: Port current uses of RegisteredCache to ContentProviderZach Hilman
2018-12-01filesystem: De-globalize registered_cache_unionLioncash
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 Hilman
2018-10-05patch_manager: Add support for packed updatesZach Hilman
Will prefer any installed update over the packed version.
2018-09-30romfs_factory: Read from all locations with StorageId NoneZach Hilman
Previous behavior was to assert. Seems to mirror expected game behavior.
2018-09-30kernel/process: Make data member variables privateLioncash
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-19file-sys: Default heavy-weight class destructors in the cpp fileLioncash
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 Hilman
2018-09-04bktr: Implement IVFC offset shiftingZach Hilman
Fixes base game read errors
2018-09-04patch_manager: Add usages of patches to ExeFSZach Hilman
2018-09-03file_sys: Replace includes with forward declarations where applicableLioncash
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
2018-08-20service/filesystem: Use forward declarations where applicableLioncash
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-20romfs_factory: Remove unnecessary includes and use forward declarations ↵Lioncash
where applicable 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 Hilman
2018-08-18filesystem: Add support for loading of system archivesZach Hilman
2018-07-18Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman
2018-07-07Revert "Virtual Filesystem (#597)"bunnei
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman
* 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-02Rename logging macro back to LOG_*James Rowe
2018-04-25file-sys: Move logging macros over to the new fmt-capable onesLioncash
2018-03-04FS: Make EnsureSaveData create the savedata folder when called for the first ↵Subv
time.
2018-01-21file_sys: Clang format fixes.bunnei
2018-01-21file_sys: Cleanup to better match Switch file system constructs.bunnei
file_sys: Add factory class for RomFS file system.