mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-13 20:42:48 +00:00
6636f3ff47
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. |
||
---|---|---|
.. | ||
deconstructed_rom_directory.cpp | ||
deconstructed_rom_directory.h | ||
elf.cpp | ||
elf.h | ||
linker.cpp | ||
linker.h | ||
loader.cpp | ||
loader.h | ||
nax.cpp | ||
nax.h | ||
nca.cpp | ||
nca.h | ||
nro.cpp | ||
nro.h | ||
nso.cpp | ||
nso.h | ||
nsp.cpp | ||
nsp.h | ||
xci.cpp | ||
xci.h |