Commit Graph

4193 Commits

Author SHA1 Message Date
Lioncash
6bab4fa777 file_sys/patch_manager: Add missing includes
These includes were previously being satisfied indirectly.
2018-09-06 13:53:23 -04:00
bunnei
f64ca97200 Merge pull request #1242 from lioncash/file-sys
file_sys/submission_package: Replace includes with forward declarations where applicable
2018-09-05 18:53:32 -04:00
Lioncash
6aa3ae3862 file_sys/submission_package: Correct constructor initialization list order
Orders the elements in the sequence to match the order in which they'll
actually be initialized in.
2018-09-05 13:44:42 -04:00
Lioncash
594a46dab8 file_sys/submission_package: Replace includes with forward declarations where applicable 2018-09-05 12:08:04 -04:00
Zach Hilman
d51f937e3e bktr: Fix bucket overlap error 2018-09-04 17:01:54 -04:00
Zach Hilman
37fd18af70 drd: Parse title ID from program metadata 2018-09-04 16:25:30 -04:00
Zach Hilman
0f87428fa1 patch_manager: Centralize Control-type NCA parsing 2018-09-04 16:25:10 -04:00
Zach Hilman
f23fd860dc nsp: Fix error masking issue with XCI files
Now display correct error instead of catch-all MissingProgramNCA
2018-09-04 16:24:24 -04:00
Zach Hilman
55e1e9559e game_list: Fix version display on non-NAND titles 2018-09-04 16:24:02 -04:00
Zach Hilman
13a60cd9de bktr: Add logging on successful patch 2018-09-04 16:24:02 -04:00
Zach Hilman
39c639c5d8 bktr: Implement IVFC offset shifting
Fixes base game read errors
2018-09-04 16:24:02 -04:00
Zach Hilman
c13664fec3 bktr: Fix missing includes and optimize style 2018-09-04 16:24:02 -04:00
Zach Hilman
288e964030 loader: Add BKTR-specific error messages and codes 2018-09-04 16:23:44 -04:00
Zach Hilman
fe316c5959 loader: Ignore patches on NRO and DRD 2018-09-04 16:23:15 -04:00
Zach Hilman
4c24a1c323 patch_manager: Add usages of patches to ExeFS 2018-09-04 16:23:15 -04:00
Zach Hilman
e739316884 file_sys: Add class to manage game patches
Right now only includes Updates, but should eventually contain all of the other patches we need.
2018-09-04 16:22:25 -04:00
Zach Hilman
8b8bd23f8a file_sys: Add BKTR patching mechanism 2018-09-04 16:22:25 -04:00
Zach Hilman
3be2b53aa6 content_archive: Add BKTR header parsing to NCA 2018-09-04 16:22:25 -04:00
Zach Hilman
708ca9bb02 registration: Add RegisteredCacheUnion
Aggregates multiple caches into one interface
2018-09-04 16:21:40 -04:00
Zach Hilman
9dd5dea781 game_list: Use RegisteredCacheUnion for installed
Reduces code
2018-09-04 16:21:40 -04:00
Zach Hilman
095f63374b aes_util: Fix error involving reads of less than 0x10
Issues with block size are fixed by making all reads minimum length of 0x10
2018-09-04 16:21:40 -04:00
Zach Hilman
b790146494 main: Only show DRD deprecation warning once 2018-09-04 14:44:48 -04:00
Zach Hilman
28699ad0f2 control_metadata: Use alternate language names if AmericanEnglish isn't available 2018-09-04 14:30:03 -04:00
Zach Hilman
4a0ba12b91 card_image: Add program title ID getter 2018-09-04 14:29:19 -04:00
Zach Hilman
fa75359060 nsp: Comply with style and performance guidelines 2018-09-04 14:29:19 -04:00
Zach Hilman
eeec13708c qt: Add UI support for NSP files 2018-09-04 14:28:41 -04:00
Zach Hilman
d09884845e registration: Add support for installing NSP files 2018-09-04 14:28:41 -04:00
Zach Hilman
59d9ecb12a loader: Add AppLoader for NSP files 2018-09-04 14:27:33 -04:00
Zach Hilman
7938dbae49 card_image: Parse XCI secure partition with NSP
Eliminated duplicate code and adds support for Rev1+ carts
2018-09-04 14:27:33 -04:00
Zach Hilman
6808f7116b file_sys: Add Nintendo Submission Package (NSP) 2018-09-04 14:25:54 -04:00
Zach Hilman
b73cc9b79f drd: Load title ID from program metadata
Previously only loaded from control metadata
2018-09-04 14:25:54 -04:00
Zach Hilman
4a26080acb loader: Add NSP file type and NSP-specific errors 2018-09-04 14:25:54 -04:00
Zach Hilman
3e751c7787 key_manager: Avoid autogeneration if key exists 2018-09-04 14:25:54 -04:00
bunnei
3f753e2187 Merge pull request #1237 from degasus/optimizations
Optimizations
2018-09-04 12:16:06 -04:00
bunnei
98b0848abb Merge pull request #1223 from DarkLordZach/custom-nand-sd-dirs
file_sys: Allow for custom NAND/SD directories
2018-09-04 11:54:22 -04:00
bunnei
a06b14489c Merge pull request #1235 from lioncash/forward-decl
file_sys: Replace includes with forward declarations where applicable
2018-09-04 11:51:54 -04:00
bunnei
7b20efbcfb Merge pull request #1236 from degasus/microprofile
Update microprofile scopes.
2018-09-04 11:50:58 -04:00
bunnei
8f7f4bbaea Merge pull request #1230 from lioncash/ssl
ssl: Move SSL class to cpp file
2018-09-04 11:49:22 -04:00
Markus Wick
5a8f98cf85 core: Use a raw pointer in GetGPUDebugContext.
This helper is called very often. The memory ownership shall not be transfered, so just return the raw pointer.
2018-09-04 14:10:05 +02:00
Markus Wick
29ca5bc0b7 Update microprofile scopes.
Blame the subsystems which deserve the blame :)

The updated list is not complete, just the ones I've spotted on random sampling the stack trace.
2018-09-04 11:04:26 +02:00
Lioncash
7a7b311c4e file_sys: Replace includes with forward declarations where applicable
Cuts down on include dependencies, resulting in less files that need to
be rebuilt when certain things are changed.
2018-09-03 22:52:24 -04:00
bunnei
4d7fa3681f Merge pull request #1231 from lioncash/global
service: Migrate global named port map to the KernelCore class
2018-09-03 21:21:12 -04:00
Zach Hilman
eafff063c4 settings: Save and load NAND/SD dirs from config 2018-09-03 19:23:33 -04:00
Lioncash
94745b24ed vfs_real: Forward declare IOFile
Eliminates the need to rebuild some source files if the file_util header
ever changes. This also uncovered some indirect inclusions, which have
also been fixed.
2018-09-02 12:38:14 -04:00
Lioncash
4bbc5fa00c service: Migrate global named port map to the KernelCore class
Now that we have a class representing the kernel in some capacity, we
now have a place to put the named port map, so we move it over and get
rid of another piece of global state within the core.
2018-09-02 12:35:30 -04:00
Lioncash
402c3bee4a ssl: Move SSL class to cpp file
This isn't required to be visible to anything outside of the main source
file, and will eliminate needing to rebuild anything else including the
header if the SSL class needs to be changed in the future.
2018-09-02 11:45:26 -04:00
bunnei
f3d766f812 Merge pull request #1213 from DarkLordZach/octopath-fs
filesystem/maxwell_3d: Various changes to boot Project Octopath Traveller
2018-09-02 10:49:18 -04:00
Lioncash
81f32ae9ae filesystem: Move dir retrieval after path checking in DeleteFile()
We don't need to do the lookup if the path is considered empty
currently.
2018-09-02 09:20:17 -04:00
Zach Hilman
ada8acf781 filesystem: Implement OpenReadOnlySaveDataFilesystem 2018-08-31 23:19:49 -04:00
Zach Hilman
6733beb7c9 filesystem: Add OpenFileSystemWithPatch 2018-08-31 23:19:23 -04:00