Lioncash
136040ee15
service: Remove unused g_kernel_named_ports variable
With the named port functionality all migrated over to the kernel,
there's no need to keep this around anymore.
7 years ago
fearlessTobi
500e81429a
hid: Implement ReloadInputDevices
7 years ago
fearlessTobi
a6efff8b02
Add audio stretching support
7 years ago
Lioncash
3f17fe7133
core: Migrate current_process pointer to the kernel
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.
7 years ago
Lioncash
56ab608044
core/core: Remove unnecessary sm/controller include
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.
7 years ago
Lioncash
54724fe918
file_sys/nca_patch: Amend constructor initializer list order
Orders the elements in the initializer list in the order they're
specified in the class. This prevents compiler warnings about
initialization order.
7 years ago
Lioncash
b155b3ef81
file_sys/nca_patch: Remove unnecessary includes
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.
7 years ago
Lioncash
a859a35ec8
file_sys/patch_manager: Add missing includes
These includes were previously being satisfied indirectly.
7 years ago
Lioncash
6bd6beee20
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.
7 years ago
Lioncash
c0b7ed8b58
file_sys/submission_package: Replace includes with forward declarations where applicable
7 years ago
Zach Hilman
c913136eb2
bktr: Fix bucket overlap error
7 years ago
Zach Hilman
7d5d781b20
drd: Parse title ID from program metadata
7 years ago
Zach Hilman
23a16c1720
patch_manager: Centralize Control-type NCA parsing
7 years ago
Zach Hilman
92e26df00f
nsp: Fix error masking issue with XCI files
Now display correct error instead of catch-all MissingProgramNCA
7 years ago
Zach Hilman
c91b60a421
game_list: Fix version display on non-NAND titles
7 years ago
Zach Hilman
cbd517d8cc
bktr: Add logging on successful patch
7 years ago
Zach Hilman
a6e75cd45b
bktr: Implement IVFC offset shifting
Fixes base game read errors
7 years ago
Zach Hilman
9664ce255d
bktr: Fix missing includes and optimize style
7 years ago
Zach Hilman
f5e03b9173
loader: Add BKTR-specific error messages and codes
7 years ago
Zach Hilman
08fcb4694f
loader: Ignore patches on NRO and DRD
7 years ago
Zach Hilman
97bf83bc56
patch_manager: Add usages of patches to ExeFS
7 years ago
Zach Hilman
8e900a301a
file_sys: Add class to manage game patches
Right now only includes Updates, but should eventually contain all of the other patches we need.
7 years ago
Zach Hilman
54e7ddb93a
file_sys: Add BKTR patching mechanism
7 years ago
Zach Hilman
1efe5a76b1
content_archive: Add BKTR header parsing to NCA
7 years ago
Zach Hilman
9951f6d054
registration: Add RegisteredCacheUnion
Aggregates multiple caches into one interface
7 years ago
Zach Hilman
d2caf4af7d
game_list: Use RegisteredCacheUnion for installed
Reduces code
7 years ago
Zach Hilman
99fbcb3bf2
aes_util: Fix error involving reads of less than 0x10
Issues with block size are fixed by making all reads minimum length of 0x10
7 years ago
Zach Hilman
87be4bc283
main: Only show DRD deprecation warning once
7 years ago
Zach Hilman
e973cceadd
control_metadata: Use alternate language names if AmericanEnglish isn't available
7 years ago
Zach Hilman
23d2c50479
card_image: Add program title ID getter
7 years ago
Zach Hilman
e4e55d064e
nsp: Comply with style and performance guidelines
7 years ago
Zach Hilman
58473309a0
qt: Add UI support for NSP files
7 years ago
Zach Hilman
f7eaea424d
registration: Add support for installing NSP files
7 years ago
Zach Hilman
d7518cf6e0
loader: Add AppLoader for NSP files
7 years ago
Zach Hilman
5c8aff984e
card_image: Parse XCI secure partition with NSP
Eliminated duplicate code and adds support for Rev1+ carts
7 years ago
Zach Hilman
93703431e2
file_sys: Add Nintendo Submission Package (NSP)
7 years ago
Zach Hilman
a040929c90
drd: Load title ID from program metadata
Previously only loaded from control metadata
7 years ago
Zach Hilman
b555311438
loader: Add NSP file type and NSP-specific errors
7 years ago
Zach Hilman
d770c60205
key_manager: Avoid autogeneration if key exists
7 years ago
Markus Wick
dce624e3f1
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.
7 years ago
Markus Wick
10bc725944
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.
7 years ago
Lioncash
a813c10e1c
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.
7 years ago
Zach Hilman
b2268f1f8d
settings: Save and load NAND/SD dirs from config
7 years ago
Lioncash
a405373144
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.
7 years ago
Lioncash
1242c1ec0a
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.
7 years ago
Lioncash
41cd766438
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.
7 years ago
Lioncash
fda8f1da20
filesystem: Move dir retrieval after path checking in DeleteFile()
We don't need to do the lookup if the path is considered empty
currently.
7 years ago
Zach Hilman
19d0951ae6
filesystem: Implement OpenReadOnlySaveDataFilesystem
7 years ago
Zach Hilman
7939ea18e8
filesystem: Add OpenFileSystemWithPatch
7 years ago
Lioncash
4a587b81b2
core/core: Replace includes with forward declarations where applicable
The follow-up to e2457418da , which
replaces most of the includes in the core header with forward declarations.
This makes it so that if any of the headers the core header was
previously including change, then no one will need to rebuild the bulk
of the core, due to core.h being quite a prevalent inclusion.
This should make turnaround for changes much faster for developers.
7 years ago