Loader: Implement argument passing.

This commit is contained in:
Michael Scire
2018-04-24 06:14:04 -06:00
parent a96f862f11
commit ee9bfd514c
2 changed files with 32 additions and 1 deletions

View File

@@ -37,6 +37,13 @@ class NsoUtils {
u64 nso_sizes[NSO_NUM_MAX];
};
struct NsoArgument {
u32 allocated_space;
u32 args_size;
u8 _0x8[0x18];
u8 arguments[];
};
static_assert(sizeof(NsoHeader) == 0x100, "Incorrectly defined NsoHeader!");