aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/control_metadata.cpp
AgeCommit message (Collapse)Author
2024-01-25vfs: Move vfs files to their own directoryFearlessTobi
2023-07-21configure_system: Implement with for looplat9nq
2023-06-03Update Chinese NX language namesKeve1227
... as per the TLoZ: TotK icon files. Would this conflict with older games?
2022-10-24file_sys: Priority display of game titles in the current languageFengChen
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-10-28file_sys: control_metadata: Add BrazilianPortugueseMorph
2021-03-27pctl: Rework how pctl works to be more accurateChloe Marcec
Introduces the usage of compatibilities to allow it the module to be closer to how it works on hardware.
2020-08-23file_sys: Replace inclusions with forward declarations where applicableLioncash
Same behavior, minus unnecessary inclusions where not necessary.
2020-05-11file_sys: control_metadata: Expose device_save_data_size.bunnei
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-05-23Implement IApplicationFunctions::GetDesiredLanguageMichael Scire
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).
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.
2018-12-27control_metadata: Update NACP fields with latest Switchbrew dataZach Hilman
2018-12-27control_metadata: Use value member instead of unique_ptr to store structZach Hilman
Serves no actual purpose in this instance besides making NACP's copy assignment deleted, which is not intended behavior.
2018-11-27control_metadata: Correct typo in language name (Portugese -> Portuguese)Lioncash
While we're at it, organize the array linearly, since clang formats the array elements quite wide length-wise with the addition of the missing 'u'. Technically also fixes patch lookup and icon lookup with Portuguese, though I doubt anyone has actually run into this issue.
2018-10-29control_metadata: Add GetRawBytes function to NACPZach Hilman
Returns the raw bytes of the NACP file. Needed for GetApplicationControlData which returns the raw, unprocessed NACP to the game.
2018-10-15file_sys/control_metadata: Get rid of magic constantsLioncash
These are just the size of the data being passed in, so we can specify that via the size() member function.
2018-10-14aoc: Read DLC base title ID from RegisteredCacheZach Hilman
Falls back to title ID + 0x1000, which is what HOS does.
2018-09-20Merge pull request #1364 from lioncash/contentbunnei
file-sys: Default heavy-weight class destructors in the cpp file
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-19control_metadata: Remove unnecessary else within GetLanguageEntry()Lioncash
There's no need to indent the code here, given the if case contains a return statement at the end of it.
2018-09-19control_metadata: Move language name array definition to the cpp fileLioncash
This was used in two different translation units (deconstructed_rom_directory and patch_manager). This means we'd be pointlessly duplicating the whole array twice due to it being defined within the header.
2018-09-04control_metadata: Use alternate language names if AmericanEnglish isn't ↵Zach Hilman
available
2018-08-11control_metadata: Remove unnecessary reference to base fileZach Hilman
2018-07-23NRO Assets and NACP file formatZach Hilman
Cleanup Review fixes