aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-09-06core: Migrate current_process pointer to the kernelLioncash
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.
2018-09-06Merge pull request #1250 from lioncash/file-sysbunnei
file_sys/{nca_patch, patch_manager}: Amend unnecessary/missing includes.
2018-09-06core/core: Remove unnecessary sm/controller includeLioncash
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.
2018-09-06file_sys/nca_patch: Amend constructor initializer list orderLioncash
Orders the elements in the initializer list in the order they're specified in the class. This prevents compiler warnings about initialization order.
2018-09-06file_sys/nca_patch: Remove unnecessary includesLioncash
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.
2018-09-06file_sys/patch_manager: Add missing includesLioncash
These includes were previously being satisfied indirectly.
2018-09-05Merge pull request #1242 from lioncash/file-sysbunnei
file_sys/submission_package: Replace includes with forward declarations where applicable
2018-09-05file_sys/submission_package: Correct constructor initialization list orderLioncash
Orders the elements in the sequence to match the order in which they'll actually be initialized in.
2018-09-05file_sys/submission_package: Replace includes with forward declarations ↵Lioncash
where applicable
2018-09-04bktr: Fix bucket overlap errorZach Hilman
2018-09-04drd: Parse title ID from program metadataZach Hilman
2018-09-04patch_manager: Centralize Control-type NCA parsingZach Hilman
2018-09-04nsp: Fix error masking issue with XCI filesZach Hilman
Now display correct error instead of catch-all MissingProgramNCA
2018-09-04game_list: Fix version display on non-NAND titlesZach Hilman
2018-09-04bktr: Add logging on successful patchZach Hilman
2018-09-04bktr: Implement IVFC offset shiftingZach Hilman
Fixes base game read errors
2018-09-04bktr: Fix missing includes and optimize styleZach Hilman
2018-09-04loader: Add BKTR-specific error messages and codesZach Hilman
2018-09-04loader: Ignore patches on NRO and DRDZach Hilman
2018-09-04patch_manager: Add usages of patches to ExeFSZach Hilman
2018-09-04file_sys: Add class to manage game patchesZach Hilman
Right now only includes Updates, but should eventually contain all of the other patches we need.
2018-09-04file_sys: Add BKTR patching mechanismZach Hilman
2018-09-04content_archive: Add BKTR header parsing to NCAZach Hilman
2018-09-04registration: Add RegisteredCacheUnionZach Hilman
Aggregates multiple caches into one interface
2018-09-04game_list: Use RegisteredCacheUnion for installedZach Hilman
Reduces code
2018-09-04aes_util: Fix error involving reads of less than 0x10Zach Hilman
Issues with block size are fixed by making all reads minimum length of 0x10
2018-09-04main: Only show DRD deprecation warning onceZach Hilman
2018-09-04control_metadata: Use alternate language names if AmericanEnglish isn't ↵Zach Hilman
available
2018-09-04card_image: Add program title ID getterZach Hilman
2018-09-04nsp: Comply with style and performance guidelinesZach Hilman
2018-09-04qt: Add UI support for NSP filesZach Hilman
2018-09-04registration: Add support for installing NSP filesZach Hilman
2018-09-04loader: Add AppLoader for NSP filesZach Hilman
2018-09-04card_image: Parse XCI secure partition with NSPZach Hilman
Eliminated duplicate code and adds support for Rev1+ carts
2018-09-04file_sys: Add Nintendo Submission Package (NSP)Zach Hilman
2018-09-04drd: Load title ID from program metadataZach Hilman
Previously only loaded from control metadata
2018-09-04loader: Add NSP file type and NSP-specific errorsZach Hilman
2018-09-04key_manager: Avoid autogeneration if key existsZach Hilman
2018-09-04Merge pull request #1237 from degasus/optimizationsbunnei
Optimizations
2018-09-04Merge pull request #1223 from DarkLordZach/custom-nand-sd-dirsbunnei
file_sys: Allow for custom NAND/SD directories
2018-09-04Merge pull request #1235 from lioncash/forward-declbunnei
file_sys: Replace includes with forward declarations where applicable
2018-09-04Merge pull request #1236 from degasus/microprofilebunnei
Update microprofile scopes.
2018-09-04Merge pull request #1230 from lioncash/sslbunnei
ssl: Move SSL class to cpp file
2018-09-04core: Use a raw pointer in GetGPUDebugContext.Markus Wick
This helper is called very often. The memory ownership shall not be transfered, so just return the raw pointer.
2018-09-04Update microprofile scopes.Markus Wick
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-03file_sys: Replace includes with forward declarations where applicableLioncash
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
2018-09-03Merge pull request #1231 from lioncash/globalbunnei
service: Migrate global named port map to the KernelCore class
2018-09-03settings: Save and load NAND/SD dirs from configZach Hilman
2018-09-02vfs_real: Forward declare IOFileLioncash
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-02service: Migrate global named port map to the KernelCore classLioncash
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.