fearlessTobi
f9ee07b1ef
hid: Implement ReloadInputDevices
7 years ago
fearlessTobi
7377afca3a
Add audio stretching support
7 years ago
Lioncash
420597d70d
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
30638f9c95
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
3168210492
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
d15352b38b
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
1c61b93026
file_sys/patch_manager: Add missing includes
These includes were previously being satisfied indirectly.
7 years ago
Lioncash
c0f0078eb1
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
a4907882ad
file_sys/submission_package: Replace includes with forward declarations where applicable
7 years ago
Zach Hilman
46eb9ec6ba
bktr: Fix bucket overlap error
7 years ago
Zach Hilman
14bfdbe0e7
drd: Parse title ID from program metadata
7 years ago
Zach Hilman
14a18fd7ae
patch_manager: Centralize Control-type NCA parsing
7 years ago
Zach Hilman
4148e4fbba
nsp: Fix error masking issue with XCI files
Now display correct error instead of catch-all MissingProgramNCA
7 years ago
Zach Hilman
ac7d3882b4
game_list: Fix version display on non-NAND titles
7 years ago
Zach Hilman
b555718bb9
bktr: Add logging on successful patch
7 years ago
Zach Hilman
b8f8b0fa47
bktr: Implement IVFC offset shifting
Fixes base game read errors
7 years ago
Zach Hilman
e88835cd40
bktr: Fix missing includes and optimize style
7 years ago
Zach Hilman
8a01446903
loader: Add BKTR-specific error messages and codes
7 years ago
Zach Hilman
e9e74efb6c
loader: Ignore patches on NRO and DRD
7 years ago
Zach Hilman
77282b170f
patch_manager: Add usages of patches to ExeFS
7 years ago
Zach Hilman
1b8f19f417
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
d4d0d3d933
file_sys: Add BKTR patching mechanism
7 years ago
Zach Hilman
de4a0027c1
content_archive: Add BKTR header parsing to NCA
7 years ago
Zach Hilman
6e6f8cf474
registration: Add RegisteredCacheUnion
Aggregates multiple caches into one interface
7 years ago
Zach Hilman
bf86700873
game_list: Use RegisteredCacheUnion for installed
Reduces code
7 years ago
Zach Hilman
7b95f295b6
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
44448809d5
main: Only show DRD deprecation warning once
7 years ago
Zach Hilman
79f66a7e8d
control_metadata: Use alternate language names if AmericanEnglish isn't available
7 years ago
Zach Hilman
a67309aa0e
card_image: Add program title ID getter
7 years ago
Zach Hilman
887ffb2512
nsp: Comply with style and performance guidelines
7 years ago
Zach Hilman
d0467f930a
qt: Add UI support for NSP files
7 years ago
Zach Hilman
87a91f6b09
registration: Add support for installing NSP files
7 years ago
Zach Hilman
6d8efb4e2e
loader: Add AppLoader for NSP files
7 years ago
Zach Hilman
57769f8d0d
card_image: Parse XCI secure partition with NSP
Eliminated duplicate code and adds support for Rev1+ carts
7 years ago
Zach Hilman
a9397ca8c0
file_sys: Add Nintendo Submission Package (NSP)
7 years ago
Zach Hilman
d4794948f2
drd: Load title ID from program metadata
Previously only loaded from control metadata
7 years ago
Zach Hilman
1572b45583
loader: Add NSP file type and NSP-specific errors
7 years ago
Zach Hilman
8e787e5ec2
key_manager: Avoid autogeneration if key exists
7 years ago
Markus Wick
5093e008c9
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
71250d28d6
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
a9f4e31cc0
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
d55a54e117
settings: Save and load NAND/SD dirs from config
7 years ago
Lioncash
df444a4a8e
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
cd22f4d32e
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
772f0805ab
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
92e7a2f7ff
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
74f147216c
filesystem: Implement OpenReadOnlySaveDataFilesystem
7 years ago
Zach Hilman
ea404911e7
filesystem: Add OpenFileSystemWithPatch
7 years ago
Lioncash
84f855a61d
core/core: Replace includes with forward declarations where applicable
The follow-up to 88597535d6 , 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
bunnei
d190b46a38
gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.
7 years ago