yuzu/src/core/file_sys
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
..
bis_factory.cpp fsmitm: Cleanup and modernize fsmitm port 2018-09-23 21:50:20 -04:00
bis_factory.h fsmitm: Cleanup and modernize fsmitm port 2018-09-23 21:50:20 -04:00
card_image.cpp card_image: Ensure program_nca_status is always initialized 2018-10-02 23:16:05 -04:00
card_image.h main: Only show DRD deprecation warning once 2018-09-04 14:44:48 -04:00
content_archive.cpp file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
content_archive.h file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
control_metadata.cpp Merge pull request #1364 from lioncash/content 2018-09-20 23:31:31 -04:00
control_metadata.h Merge pull request #1364 from lioncash/content 2018-09-20 23:31:31 -04:00
directory.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
errors.h file_sys/errors: Remove redundant object constructor calls 2018-07-20 22:37:54 -04:00
fsmitm_romfsbuild.cpp fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir 2018-10-04 12:29:20 -04:00
fsmitm_romfsbuild.h fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir 2018-10-04 12:29:20 -04:00
ips_layer.cpp ips_layer: Fix inaccuracies with comments and flags 2018-10-04 12:23:27 -04:00
ips_layer.h ips_layer: Fix inaccuracies with comments and flags 2018-10-04 12:23:27 -04:00
mode.h VFS Regression and Accuracy Fixes (#776) 2018-07-23 19:40:35 -07:00
nca_metadata.cpp file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
nca_metadata.h file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
nca_patch.cpp Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
nca_patch.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
partition_filesystem.cpp file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
partition_filesystem.h file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
patch_manager.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
patch_manager.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
program_metadata.cpp process/vm_manager: Amend API to allow reading parameters from NPDM metadata 2018-09-24 17:24:50 -04:00
program_metadata.h process/vm_manager: Amend API to allow reading parameters from NPDM metadata 2018-09-24 17:24:50 -04:00
registered_cache.cpp vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile 2018-09-25 20:06:01 -04:00
registered_cache.h qt: Add UI elements for LayeredFS and related tools 2018-09-21 19:53:33 -04:00
romfs.cpp fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir 2018-10-04 12:29:20 -04:00
romfs.h fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir 2018-10-04 12:29:20 -04:00
romfs_factory.cpp romfs_factory: Extract packed update setter to new function 2018-10-05 08:53:51 -04:00
romfs_factory.h romfs_factory: Extract packed update setter to new function 2018-10-05 08:53:51 -04:00
savedata_factory.cpp kernel/process: Make data member variables private 2018-09-30 02:30:01 -04:00
savedata_factory.h file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
sdmc_factory.cpp file_sys/crypto: Fix missing/unnecessary includes 2018-08-24 22:15:32 -04:00
sdmc_factory.h file_sys/crypto: Fix missing/unnecessary includes 2018-08-24 22:15:32 -04:00
submission_package.cpp romfs_factory: Extract packed update setter to new function 2018-10-05 08:53:51 -04:00
submission_package.h submission_package: Ensure the 'extracted' member variable is always initialized 2018-10-03 01:47:34 -04:00
vfs.cpp vfs/etc: Append std:: to size_t usages 2018-09-25 20:06:21 -04:00
vfs.h vfs/etc: Append std:: to size_t usages 2018-09-25 20:06:21 -04:00
vfs_concat.cpp vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile 2018-09-25 20:06:01 -04:00
vfs_concat.h vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile 2018-09-25 20:06:01 -04:00
vfs_layered.cpp vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile 2018-09-25 20:06:01 -04:00
vfs_layered.h vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile 2018-09-25 20:06:01 -04:00
vfs_offset.cpp file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
vfs_offset.h file-sys: Default heavy-weight class destructors in the cpp file 2018-09-19 19:34:08 -04:00
vfs_real.cpp fsmitm: Cleanup and modernize fsmitm port 2018-09-23 21:50:20 -04:00
vfs_real.h fsmitm: Cleanup and modernize fsmitm port 2018-09-23 21:50:20 -04:00
vfs_static.h vfs/etc: Append std:: to size_t usages 2018-09-25 20:06:21 -04:00
vfs_vector.cpp vfs_vector: Amend initializer list order in VectorVfsFile's constructor initializer list 2018-09-25 20:06:21 -04:00
vfs_vector.h vfs/etc: Append std:: to size_t usages 2018-09-25 20:06:21 -04:00
xts_archive.cpp Merge pull request #1364 from lioncash/content 2018-09-20 23:31:31 -04:00
xts_archive.h Merge pull request #1364 from lioncash/content 2018-09-20 23:31:31 -04:00