aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
AgeCommit message (Collapse)Author
2019-09-21pl_u: Use OSS system archives if real archives don't existZach Hilman
2019-09-21patch_manager: Update cheat parsing for new VMZach Hilman
2019-09-21cheat_engine: Move to memory and strip VMZach Hilman
This is to go with the Atmosphere VM port, now it just contains the callbacks needed for the interface between DmntCheatVm and yuzu, along with the cheat parsers.
2019-09-21system_archive: Synthesize shared fonts system archivesZach Hilman
2019-09-21externals: Move OSS font data to file_sys in coreZach Hilman
2019-09-21configure_debug: Move reporting option to loggingZach Hilman
2019-09-21filesystem: Add const qualification to various accessorsZach Hilman
2019-09-21yuzu: Port old usages of Filesystem namespace to FilesystemControllerZach Hilman
2019-09-21card_image: Add accessors for gamecard certificateZach Hilman
Used by fsp-srv/IDeviceOperator
2019-09-21card_image: Add functions to query gamecard update partitionZach Hilman
Includes version and meta title ID, used by fsp-srv/IDeviceOperator
2019-09-21content_archive: Add accessors for Rights ID and SDK VersionZach Hilman
2019-09-21sdmc_factory: Add SD Card size gettersZach Hilman
2019-09-21bis_factory: Add getters for NAND partition sizesZach Hilman
2019-09-21submisson_package: Fix edge case with improperly sized filenamesZach Hilman
Prevents a crash if the filename is less than 9 characters long.
2019-09-21sdmc_factory: Add accessor for SDMC Album directoryZach Hilman
2019-09-21sdmc_factory: Add accessor for SDMC PlaceholderCacheZach Hilman
2019-09-21sdmc_factory: Add accessor for content directoryZach Hilman
2019-09-21savedata_factory: Implement savedata creation and don't create dir on openZach Hilman
Matches hardware behavior and eliminates some nasty behavior we were doing that wasn't hw-accurate at all.
2019-09-21patch_manager: Add short-circuit edge-case to GetPatchVersionNamesZach Hilman
If title ID is 0, there are no add ons, prevents wasting time looking for them.
2019-09-21patch_manager: Add error checking to load dir to prevent crashesZach Hilman
Prevents a crash if the load dir would be nullptr, instead logs an error and returns appropriately.
2019-09-21registered_cache: Process *.cnmt.nca filesZach Hilman
Needed to use the RegisteredCache/PlaceholderCache on gamecards.
2019-09-21registered_cache: Implement PlaceholderCache to manage placeholder and ↵Zach Hilman
installing content
2019-09-21bis_factory: Fix mod loader edge-case with homebrew title IDsZach Hilman
Fixes a bug where homebrew that has a title ID with the update bit set can cause issues with the PatchManager
2019-09-21bis_factory: Add accessors for BIS placeholder cachesZach Hilman
2019-09-21bis_factory: Add accessor for NAND Image DirectoryZach Hilman
2019-09-21bis_factory: Add accessors for BIS content directoriesZach Hilman
2019-09-21bis_factory: Add accessors for BIS partitionsZach Hilman
2019-09-21Merge pull request #2576 from DarkLordZach/nsp-fix-1David
nsp: Fix various errors with loading and processing of extracted NSPs
2019-09-05Merge pull request #2707 from DarkLordZach/oss-miimodelDavid
system_archive: Add open-source reimplementation of MiiModel data
2019-07-10system_archive: Add open-source reimplementation of MiiModel dataZach Hilman
2019-07-07Implement MapPhysicalMemory/UnmapPhysicalMemoryMichael Scire
This implements svcMapPhysicalMemory/svcUnmapPhysicalMemory for Yuzu, which can be used to map memory at a desired address by games since 3.0.0. It also properly parses SystemResourceSize from NPDM, and makes information available via svcGetInfo. This is needed for games like Super Smash Bros. and Diablo 3 -- this PR's implementation does not run into the "ASCII reads" issue mentioned in the comments of #2626, which was caused by the following bugs in Yuzu's memory management that this PR also addresses: * Yuzu's memory coalescing does not properly merge blocks. This results in a polluted address space/svcQueryMemory results that would be impossible to replicate on hardware, which can lead to game code making the wrong assumptions about memory layout. * This implements better merging for AllocatedMemoryBlocks. * Yuzu's implementation of svcMirrorMemory unprotected the entire virtual memory range containing the range being mirrored. This could lead to games attempting to map data at that unprotected range/attempting to access that range after yuzu improperly unmapped it. * This PR fixes it by simply calling ReprotectRange instead of Reprotect.
2019-07-02file_sys: Rename other ContentRecordType membersBakugo
2019-07-01file_sys/registered_cache: Improve missing metadata errorBakugo
This can happen when installing NSPs too, not just XCIs.
2019-07-01file_sys/submission_package: Don't warn about missing DeltaFragment NCAsBakugo
DeltaFragments are not useful to us and are often not included in patch NSPs.
2019-07-01file_sys/registered_cache: Ignore DeltaFragment NCAs during installationBakugo
DeltaFragments are only used to download and apply partial patches on a real console, and are not useful to us at all. Most patch NSPs do not include them, and when they do, it's a waste of space to install them.
2019-07-01file_sys: Rename ContentRecordType::Patch to DeltaFragmentBakugo
Avoids potential confusion, since patches and DeltaFragments are not the same thing. Actual full patches are listed under the Program type.
2019-06-25glue: Correct missing bytes in ApplicationLaunchParameterZach Hilman
2019-06-24registered_cache: Add getter to determine source slot in content provider unionZach Hilman
Used to determine StorageId source for application data.
2019-06-24patch_manager: Add getter for title versionZach Hilman
2019-06-21Merge pull request #2546 from DarkLordZach/kipsbunnei
loader, file_sys: Add support for parsing and loading KIP (Kernel Internal Process) files
2019-06-19Update content_archive.cppjonsn0w
log clutter in debug logs when theres really no need
2019-06-17Addressed issuesDavid Marcec
2019-06-16Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & ↵David Marcec
Partial impl of GetAccumulatedSuspendedTickChangedEvent IPC-100 was changed to InitializeApplicationInfoOld instead of InitializeApplicationInfo. IPC-150 makes an indentical call to IPC-100 however does extra processing. They should not have the same name as it's quite confusing to debug.
2019-06-15Merge pull request #2581 from lioncash/hexZach Hilman
common/hex_util: Combine HexVectorToString() and HexArrayToString()
2019-06-14Merge pull request #2582 from lioncash/reservedbunnei
file_sys/ips_layer: Remove unnecessary reserve() call
2019-06-12Merge pull request #2577 from lioncash/fsZach Hilman
file_sys/card_image: Minor cleanup
2019-06-12file_sys/ips_layer: Remove unnecessary reserve() callLioncash
Given 'replace' is assigned to on the following line, this isn't necessary, given the underlying data is going to be overwritten entirely.
2019-06-12common/hex_util: Combine HexVectorToString() and HexArrayToString()Lioncash
These can be generified together by using a concept type to designate them. This also has the benefit of not making copies of potentially very large arrays.
2019-06-12file_sys/card_image: Remove obsolete TODOLioncash
We already support Rev 1+.
2019-06-10file_sys/nca_metadata: Update CNMT structuresLioncash
Names a few more entries in relevant structures. Information based off SwitchBrew and my own RE.