Loader: Implement most of LoadNsosIntoProcessMemory

This commit is contained in:
Michael Scire 2018-04-24 06:01:32 -06:00
parent d09c48c6c7
commit a96f862f11
3 changed files with 78 additions and 1 deletions

View file

@ -82,4 +82,7 @@ class NsoUtils {
static Result LoadNsoHeaders(u64 title_id);
static Result ValidateNsoLoadSet();
static Result CalculateNsoLoadExtents(u32 addspace_type, u32 args_size, NsoLoadExtents *extents);
static Result LoadNsoSegment(unsigned int index, unsigned int segment, FILE *f_nso, u8 *map_base);
static Result LoadNsosIntoProcessMemory(Handle process_h, u64 title_id, NsoLoadExtents *extents, u8 *args, u32 args_size);
};