summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nso.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-09 22:12:31 +0200
committerbunnei <bunneidev@gmail.com>2020-04-17 06:59:35 +0200
commitbebfb05c1b19d879dcaec7a331b14ccff78d3796 (patch)
tree6c43611bf951317689e5b011615cf1149f4b8d1b /src/core/loader/nso.h
parentloader: elf/kip/nro: Updates for new VMM. (diff)
downloadyuzu-bebfb05c1b19d879dcaec7a331b14ccff78d3796.tar
yuzu-bebfb05c1b19d879dcaec7a331b14ccff78d3796.tar.gz
yuzu-bebfb05c1b19d879dcaec7a331b14ccff78d3796.tar.bz2
yuzu-bebfb05c1b19d879dcaec7a331b14ccff78d3796.tar.lz
yuzu-bebfb05c1b19d879dcaec7a331b14ccff78d3796.tar.xz
yuzu-bebfb05c1b19d879dcaec7a331b14ccff78d3796.tar.zst
yuzu-bebfb05c1b19d879dcaec7a331b14ccff78d3796.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/nso.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/loader/nso.h b/src/core/loader/nso.h
index d2d600cd9..b210830f0 100644
--- a/src/core/loader/nso.h
+++ b/src/core/loader/nso.h
@@ -56,8 +56,6 @@ static_assert(sizeof(NSOHeader) == 0x100, "NSOHeader has incorrect size.");
static_assert(std::is_trivially_copyable_v<NSOHeader>, "NSOHeader must be trivially copyable.");
constexpr u64 NSO_ARGUMENT_DATA_ALLOCATION_SIZE = 0x9000;
-// NOTE: Official software default argument state is unverified.
-constexpr u64 NSO_ARGUMENT_DEFAULT_SIZE = 1;
struct NSOArgumentHeader {
u32_le allocated_size;
@@ -84,6 +82,7 @@ public:
static std::optional<VAddr> LoadModule(Kernel::Process& process, const FileSys::VfsFile& file,
VAddr load_base, bool should_pass_arguments,
+ bool load_into_process,
std::optional<FileSys::PatchManager> pm = {});
LoadResult Load(Kernel::Process& process) override;