summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: Migrate current_process pointer to the kernelGravatar Lioncash2018-09-064-5/+34
| | | | | | | | | | Given we now have the kernel as a class, it doesn't make sense to keep the current process pointer within the System class, as processes are related to the kernel. This also gets rid of a subtle case where memory wouldn't be freed on core shutdown, as the current_process pointer would never be reset, causing the pointed to contents to continue to live.
* Merge pull request #1250 from lioncash/file-sysGravatar bunnei2018-09-064-4/+16
|\ | | | | file_sys/{nca_patch, patch_manager}: Amend unnecessary/missing includes.
| * file_sys/nca_patch: Amend constructor initializer list orderGravatar Lioncash2018-09-061-2/+2
| | | | | | | | | | | | Orders the elements in the initializer list in the order they're specified in the class. This prevents compiler warnings about initialization order.
| * file_sys/nca_patch: Remove unnecessary includesGravatar Lioncash2018-09-062-2/+9
| | | | | | | | | | romfs.h doesn't need to be included in the header, the only real dependency here is common's swap.h that needs to be included.
| * file_sys/patch_manager: Add missing includesGravatar Lioncash2018-09-062-0/+5
| | | | | | | | These includes were previously being satisfied indirectly.
* | core/core: Remove unnecessary sm/controller includeGravatar Lioncash2018-09-065-2/+5
|/ | | | | | | | | | The only reason this include was necessary, was because the constructor wasn't defaulted in the cpp file and the compiler would inline it wherever it was used. However, given Controller is forward declared, all those inlined constructors would see an incomplete type, causing a compilation failure. So, we just place the constructor in the cpp file, where it can see the complete type definition, allowing us to remove this include.
* Merge pull request #1242 from lioncash/file-sysGravatar bunnei2018-09-052-8/+17
|\ | | | | file_sys/submission_package: Replace includes with forward declarations where applicable
| * file_sys/submission_package: Correct constructor initialization list orderGravatar Lioncash2018-09-051-2/+2
| | | | | | | | | | Orders the elements in the sequence to match the order in which they'll actually be initialized in.
| * file_sys/submission_package: Replace includes with forward declarations ↵Gravatar Lioncash2018-09-052-6/+15
| | | | | | | | where applicable
* | bktr: Fix bucket overlap errorGravatar Zach Hilman2018-09-047-9/+9
| |
* | drd: Parse title ID from program metadataGravatar Zach Hilman2018-09-042-4/+29
| |
* | patch_manager: Centralize Control-type NCA parsingGravatar Zach Hilman2018-09-044-55/+74
| |
* | nsp: Fix error masking issue with XCI filesGravatar Zach Hilman2018-09-043-6/+13
| | | | | | | | Now display correct error instead of catch-all MissingProgramNCA
* | game_list: Fix version display on non-NAND titlesGravatar Zach Hilman2018-09-043-8/+33
| |
* | bktr: Add logging on successful patchGravatar Zach Hilman2018-09-043-7/+24
| |
* | bktr: Implement IVFC offset shiftingGravatar Zach Hilman2018-09-048-8/+36
| | | | | | | | Fixes base game read errors
* | bktr: Fix missing includes and optimize styleGravatar Zach Hilman2018-09-0411-101/+107
| |
* | loader: Add BKTR-specific error messages and codesGravatar Zach Hilman2018-09-043-7/+28
| |
* | loader: Ignore patches on NRO and DRDGravatar Zach Hilman2018-09-044-0/+11
| |
* | patch_manager: Add usages of patches to ExeFSGravatar Zach Hilman2018-09-045-9/+41
| |
* | file_sys: Add class to manage game patchesGravatar Zach Hilman2018-09-042-0/+132
| | | | | | | | Right now only includes Updates, but should eventually contain all of the other patches we need.
* | file_sys: Add BKTR patching mechanismGravatar Zach Hilman2018-09-042-0/+352
| |
* | content_archive: Add BKTR header parsing to NCAGravatar Zach Hilman2018-09-042-19/+160
| |
* | registration: Add RegisteredCacheUnionGravatar Zach Hilman2018-09-044-0/+164
| | | | | | | | Aggregates multiple caches into one interface
* | game_list: Use RegisteredCacheUnion for installedGravatar Zach Hilman2018-09-041-1/+1
| | | | | | | | Reduces code
* | aes_util: Fix error involving reads of less than 0x10Gravatar Zach Hilman2018-09-041-0/+14
|/ | | | Issues with block size are fixed by making all reads minimum length of 0x10
* main: Only show DRD deprecation warning onceGravatar Zach Hilman2018-09-046-3/+6
|
* control_metadata: Use alternate language names if AmericanEnglish isn't ↵Gravatar Zach Hilman2018-09-042-4/+17
| | | | available
* card_image: Add program title ID getterGravatar Zach Hilman2018-09-042-0/+6
|
* nsp: Comply with style and performance guidelinesGravatar Zach Hilman2018-09-047-29/+48
|
* qt: Add UI support for NSP filesGravatar Zach Hilman2018-09-041-0/+4
|
* registration: Add support for installing NSP filesGravatar Zach Hilman2018-09-042-10/+16
|
* loader: Add AppLoader for NSP filesGravatar Zach Hilman2018-09-042-0/+182
|
* card_image: Parse XCI secure partition with NSPGravatar Zach Hilman2018-09-044-11/+38
| | | | Eliminated duplicate code and adds support for Rev1+ carts
* file_sys: Add Nintendo Submission Package (NSP)Gravatar Zach Hilman2018-09-042-0/+296
|
* drd: Load title ID from program metadataGravatar Zach Hilman2018-09-041-3/+1
| | | | Previously only loaded from control metadata
* loader: Add NSP file type and NSP-specific errorsGravatar Zach Hilman2018-09-042-2/+14
|
* key_manager: Avoid autogeneration if key existsGravatar Zach Hilman2018-09-041-3/+13
|
* Merge pull request #1237 from degasus/optimizationsGravatar bunnei2018-09-042-3/+3
|\ | | | | Optimizations
| * core: Use a raw pointer in GetGPUDebugContext.Gravatar Markus Wick2018-09-042-3/+3
| | | | | | | | This helper is called very often. The memory ownership shall not be transfered, so just return the raw pointer.
* | Merge pull request #1223 from DarkLordZach/custom-nand-sd-dirsGravatar bunnei2018-09-041-0/+2
|\ \ | | | | | | file_sys: Allow for custom NAND/SD directories
| * | settings: Save and load NAND/SD dirs from configGravatar Zach Hilman2018-09-031-0/+2
| | |
* | | Merge pull request #1235 from lioncash/forward-declGravatar bunnei2018-09-0420-26/+62
|\ \ \ | | | | | | | | file_sys: Replace includes with forward declarations where applicable
| * | | file_sys: Replace includes with forward declarations where applicableGravatar Lioncash2018-09-0320-26/+62
| | |/ | |/| | | | | | | | | | Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
* | | Merge pull request #1236 from degasus/microprofileGravatar bunnei2018-09-042-2/+6
|\ \ \ | | | | | | | | Update microprofile scopes.
| * | | Update microprofile scopes.Gravatar Markus Wick2018-09-042-2/+6
| |/ / | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1230 from lioncash/sslGravatar bunnei2018-09-042-37/+39
|\ \ \ | |/ / |/| | ssl: Move SSL class to cpp file
| * | ssl: Move SSL class to cpp fileGravatar Lioncash2018-09-022-37/+39
| | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1231 from lioncash/globalGravatar bunnei2018-09-035-19/+51
|\ \ \ | | | | | | | | service: Migrate global named port map to the KernelCore class
| * | | service: Migrate global named port map to the KernelCore classGravatar Lioncash2018-09-025-19/+51
| | |/ | |/| | | | | | | | | | | | | 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.