aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
AgeCommit message (Collapse)Author
2019-06-10file_sys/card_image: Deduplicate casts within AddNCAFromPartition()Lioncash
Makes for nicer reading.
2019-06-10file_sys/card_image: Make bracing consistentLioncash
Makes for more consistent reading.
2019-06-10file_sys/card_image: Assign collapsed NCA contents directly to ncas memberLioncash
Same thing, significantly less noisy.
2019-06-10file_sys/card_image: Deduplicate type castLioncash
Same thing, less duplication. We can also std::move raw into the PartitionFilesystem constructor.
2019-06-10file_sys/card_image: Get rid of a magic numberLioncash
We can just use the size of the array to dehardcode it.
2019-06-10file_sys/card_image: Use std::array deduction guidesLioncash
Same thing, less code.
2019-06-10nsp: Correct status codes for extracted NSPsZach Hilman
Avoids all extracted NSPs being marked as error file type because they don't have program NCAs.
2019-06-10nsp: Use title ID from NPDM metadata for extracted type NSPsZach Hilman
Avoids 0 being used as title ID for all extracted NSPs.
2019-06-06kernel_executable: Optimize BLZ decompressionZach Hilman
2019-06-05game_list: Accept *.kip as a file extension of executablesZach Hilman
2019-06-05program_metadata: Add function to load meta from raw parametersZach Hilman
Needed for KIP loading as KIPs do not have an NPDM but do have the essential parts of the data within.
2019-06-05file_sys: Add classes to parse KIP1 and INI1 filesZach Hilman
2019-05-23Implement IApplicationFunctions::GetDesiredLanguageMichael Scire
2019-04-09Merge pull request #1957 from DarkLordZach/title-providerbunnei
file_sys: Provide generic interface for accessing game data
2019-04-05Merge pull request #2340 from lioncash/viewbunnei
file_sys/fsmitm_romfsbuild: Utilize a string_view in romfs_calc_path_hash
2019-04-05Merge pull request #2341 from lioncash/comparebunnei
file_sys/nca_metadata: Remove unnecessary comparison operators for TitleType
2019-04-05Merge pull request #2339 from lioncash/rankbunnei
service/fsp_srv: Update SaveDataInfo and SaveDataDescriptor structs
2019-04-05file_sys/program_metadata: Remove obsolete TODOsLioncash
BitField has been trivially copyable since e99a14862841841d74be8d0ea9426c2d23546b5e, so we can eliminate these TODO comments and use ReadObject() directly instead of memcpying the data.
2019-04-05file_sys/nca_metadata: Remove unnecessary comparison operators for TitleTypeLioncash
enum class elements from the same enum can already be compared against one another without the need for explicitly defined comparison operators.
2019-04-05file_sys/fsmitm_romfsbuild: Utilize a string_view in romfs_calc_path_hash()Lioncash
The given string instance doesn't need to be copied entirely, we can just use a view instead.
2019-04-05service/fsp_srv: Don't pass SaveDataDescriptor instances by value.Lioncash
Passing around a 64 byte data struct by value is kind of wasteful, instead pass a reference to the struct.
2019-04-05service/fsp_srv: Update SaveDataInfo and SaveDataDescriptor structsLioncash
I realized that I updated the documentation on SwitchBrew a while ago, but never actually updated the structs within yuzu.
2019-04-03file_sys/control_metadata: Amend naming of membersLioncash
Quite a bit of these were out of sync with Switchbrew (and in some cases entirely wrong). While we're at it, also expand the section of named members. A segment within the control metadata is used to specify maximum values for the user, device, and cache storage max sizes and journal sizes. These appear to be generally used by the am service (e.g. in CreateCacheStorage, etc).
2019-03-27patch_manager: Dump NSO name with build IDZach Hilman
2019-03-26core: Port current uses of RegisteredCache to ContentProviderZach Hilman
2019-03-26file_sys: Create ContentProvider interface and default implementationsZach Hilman
2019-03-24core/cheat_engine: Make MemoryReadImpl and MemoryWriteImpl internally linkedLioncash
These don't need to be visible outside of the translation unit, so they can be enclosed within an anonymous namespace.
2019-03-23Merge pull request #2221 from DarkLordZach/firmware-versionbunnei
set_sys: Implement GetFirmwareVersion(2) for libnx hosversion
2019-03-23Merge pull request #2280 from lioncash/nsobunnei
loader/nso: Minor refactoring
2019-03-22file_sys/cheat_engine: Silence truncation and sign-conversion warningsLioncash
2019-03-22file_sys/cheat_engine: Remove use of global system accessorsLioncash
Instead, pass in the core timing instance and make the dependency explicit in the interface.
2019-03-22file_sys/patch_manager: Deduplicate NSO headerLioncash
This source file was utilizing its own version of the NSO header. Instead of keeping this around, we can have the patch manager also use the version of the header that we have defined in loader/nso.h
2019-03-22file_sys/patch_manager: Remove two magic valuesLioncash
These correspond to the NSOBuildHeader.
2019-03-21Merge pull request #1933 from DarkLordZach/cheat-enginebunnei
file_sys: Implement parser and interpreter for game memory cheats
2019-03-19file_sys/content_archive: Amend name of Data_Unknown5 enum entryLioncash
While we're at it, give each entry some documentation.
2019-03-10set_sys: Use official nintendo version stringZach Hilman
2019-03-10system_version: Correct sizes on VectorVfsFile constructionZach Hilman
2019-03-10set_sys: Implement GetFirmwareVersion(2) for libnx hosversionZach Hilman
Uses the synthesized system archive 9 (SystemVersion) and reports v5.1.0-0.0
2019-03-05vm_manager: Remove cheat-specific ranges from VMManagerZach Hilman
2019-03-04cheat_engine: Add parser and interpreter for game cheatsZach Hilman
2019-03-04patch_manager: Display cheats in game list add-onsZach Hilman
2019-03-04patch_manager: Add support for loading cheats listsZach Hilman
Uses load/<title_id>/<mod_name>/cheats as root dir, file name is all upper or lower hex first 8 bytes build ID.
2019-02-25file_sys/vfs_vector: Fix ignored offset on WriteFrederic L
2019-01-20Merge pull request #2025 from DarkLordZach/loader-banner-logobunnei
loader: Add getters for application banner and logo
2019-01-18file_sys/directory: Remove unused DirectoryBackend classLioncash
This isn't used at all, so we can just get rid of it.
2019-01-15content_archive: Add getter for logo section of NCAZach Hilman
2018-12-28romfs: Add SingleDiscard extraction typeZach Hilman
Needed for manual RomFS extraction, as Full generates an extra directory and Truncated generates variable results.
2018-12-27file_sys/program_metadata: Print out more descriptive address space descriptionsLioncash
Provides extra information that makes it easier to tell if an executable being run is using a 36-bit address space or a 39-bit address space. While we don't support AArch32 executables yet, this also puts in distinguishing information for the 32-bit address space types as well.
2018-12-27Merge pull request #1928 from lioncash/capsbunnei
kernel: Handle kernel capability descriptors
2018-12-27am: Implement GetSaveDataSize and ExtendSaveDataZach Hilman
These functions come in a pair and are needed by Smash Ultimate, Minecraft, and Skyrim, amongst others.