suyu/src/core/loader
Lioncash 6636f3ff47 patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr
Neither of these functions require the use of shared ownership of the
returned pointer. This makes it more difficult to create reference
cycles with, and makes the interface more generic, as std::shared_ptr
instances can be created from a std::unique_ptr, but the vice-versa
isn't possible. This also alters relevant functions to take NCA
arguments by const reference rather than a const reference to a
std::shared_ptr. These functions don't alter the ownership of the memory
used by the NCA instance, so we can make the interface more generic by
not assuming anything about the type of smart pointer the NCA is
contained within and make it the caller's responsibility to ensure the
supplied NCA is valid.
2018-10-09 14:38:03 -04:00
..
deconstructed_rom_directory.cpp nso/nro: Use default allocation size for arg_data 2018-10-07 14:32:33 -04:00
deconstructed_rom_directory.h loader: Make the Load() function take a process as a regular reference, not a SharedPtr 2018-09-29 16:00:03 -04:00
elf.cpp kernel/process: Make data member variables private 2018-09-30 02:30:01 -04:00
elf.h loader: Make the Load() function take a process as a regular reference, not a SharedPtr 2018-09-29 16:00:03 -04:00
linker.cpp linker: Remove unused parameter from WriteRelocations() 2018-07-23 17:40:12 -04:00
linker.h linker: Remove unused parameter from WriteRelocations() 2018-07-23 17:40:12 -04:00
loader.cpp loader: Add getter for packed update 2018-10-05 08:46:31 -04:00
loader.h loader: Add getter for packed update 2018-10-05 08:46:31 -04:00
nax.cpp loader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loaders 2018-10-05 08:46:31 -04:00
nax.h loader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loaders 2018-10-05 08:46:31 -04:00
nca.cpp loader: Make the Load() function take a process as a regular reference, not a SharedPtr 2018-09-29 16:00:03 -04:00
nca.h loader: Make the Load() function take a process as a regular reference, not a SharedPtr 2018-09-29 16:00:03 -04:00
nro.cpp nso/nro: Use default allocation size for arg_data 2018-10-07 14:32:33 -04:00
nro.h loader: Make the Load() function take a process as a regular reference, not a SharedPtr 2018-09-29 16:00:03 -04:00
nso.cpp nso/nro: Use default allocation size for arg_data 2018-10-07 14:32:33 -04:00
nso.h nso/nro: Use default allocation size for arg_data 2018-10-07 14:32:33 -04:00
nsp.cpp patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr 2018-10-09 14:38:03 -04:00
nsp.h patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr 2018-10-09 14:38:03 -04:00
xci.cpp patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr 2018-10-09 14:38:03 -04:00
xci.h patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr 2018-10-09 14:38:03 -04:00