summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/control_metadata.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-16file_sys/control_metadata: Get rid of magic constantsLioncash1-3/+6
These are just the size of the data being passed in, so we can specify that via the size() member function.
2018-10-15aoc: Read DLC base title ID from RegisteredCacheZach Hilman1-0/+4
Falls back to title ID + 0x1000, which is what HOS does.
2018-09-20file-sys: Default heavy-weight class destructors in the cpp fileLioncash1-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.
2018-09-20control_metadata: Remove unnecessary else within GetLanguageEntry()Lioncash1-8/+8
There's no need to indent the code here, given the if case contains a return statement at the end of it.
2018-09-20control_metadata: Move language name array definition to the cpp fileLioncash1-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.
2018-09-04control_metadata: Use alternate language names if AmericanEnglish isn't availableZach Hilman1-1/+11
2018-08-12control_metadata: Remove unnecessary reference to base fileZach Hilman1-1/+1
2018-07-23NRO Assets and NACP file formatZach Hilman1-0/+42
Cleanup Review fixes