summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/control_metadata.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vfs: Move vfs files to their own directoryFearlessTobi2024-01-251-1/+1
|
* configure_system: Implement with for looplat9nq2023-07-211-1/+2
|
* Update Chinese NX language namesKeve12272023-06-031-6/+6
| | | | ... as per the TLoZ: TotK icon files. Would this conflict with older games?
* file_sys: Priority display of game titles in the current languageFengChen2022-10-241-9/+34
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | 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.
* file_sys: control_metadata: Add BrazilianPortugueseMorph2021-10-291-1/+2
|
* pctl: Rework how pctl works to be more accurateChloe Marcec2021-03-261-0/+8
| | | | Introduces the usage of compatibilities to allow it the module to be closer to how it works on hardware.
* file_sys: Replace inclusions with forward declarations where applicableLioncash2020-08-231-0/+1
| | | | Same behavior, minus unnecessary inclusions where not necessary.
* file_sys: control_metadata: Expose device_save_data_size.bunnei2020-05-111-0/+4
|
* Addressed issuesDavid Marcec2019-06-171-1/+1
|
* Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & Partial impl of GetAccumulatedSuspendedTickChangedEventDavid Marcec2019-06-161-0/+4
| | | | 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.
* Implement IApplicationFunctions::GetDesiredLanguageMichael Scire2019-05-231-0/+4
|
* file_sys/control_metadata: Amend naming of membersLioncash2019-04-041-3/+3
| | | | | | | | | | | 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).
* am: Implement GetSaveDataSize and ExtendSaveDataZach Hilman2018-12-271-1/+1
| | | These functions come in a pair and are needed by Smash Ultimate, Minecraft, and Skyrim, amongst others.
* control_metadata: Update NACP fields with latest Switchbrew dataZach Hilman2018-12-271-0/+8
|
* control_metadata: Use value member instead of unique_ptr to store structZach Hilman2018-12-271-9/+11
| | | Serves no actual purpose in this instance besides making NACP's copy assignment deleted, which is not intended behavior.
* control_metadata: Correct typo in language name (Portugese -> Portuguese)Lioncash2018-11-271-7/+17
| | | | | | | | | 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.
* control_metadata: Add GetRawBytes function to NACPZach Hilman2018-10-291-0/+6
| | | | Returns the raw bytes of the NACP file. Needed for GetApplicationControlData which returns the raw, unprocessed NACP to the game.
* file_sys/control_metadata: Get rid of magic constantsLioncash2018-10-161-3/+6
| | | | | These are just the size of the data being passed in, so we can specify that via the size() member function.
* aoc: Read DLC base title ID from RegisteredCacheZach Hilman2018-10-151-0/+4
| | | Falls back to title ID + 0x1000, which is what HOS does.
* Merge pull request #1364 from lioncash/contentbunnei2018-09-211-0/+2
|\ | | | | file-sys: Default heavy-weight class destructors in the cpp file
| * file-sys: Default heavy-weight class destructors in the cpp fileLioncash2018-09-201-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.
* | control_metadata: Remove unnecessary else within GetLanguageEntry()Lioncash2018-09-201-8/+8
| | | | | | | | | | There's no need to indent the code here, given the if case contains a return statement at the end of it.
* | control_metadata: Move language name array definition to the cpp fileLioncash2018-09-201-0/+8
|/ | | | | | | 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.
* control_metadata: Use alternate language names if AmericanEnglish isn't availableZach Hilman2018-09-041-1/+11
|
* control_metadata: Remove unnecessary reference to base fileZach Hilman2018-08-121-1/+1
|
* NRO Assets and NACP file formatZach Hilman2018-07-231-0/+42
Cleanup Review fixes