mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
Loader: Fix argument passing.
This commit is contained in:
parent
9687218fbc
commit
bcf81fe957
6 changed files with 10 additions and 9 deletions
|
@ -141,6 +141,7 @@ Result NsoUtils::CalculateNsoLoadExtents(u32 addspace_type, u32 args_size, NsoLo
|
|||
/* What the fuck? Where does 0x9007 come from? */
|
||||
extents->args_size = (2 * args_size + 0x9007);
|
||||
extents->args_size &= ~0xFFFULL;
|
||||
extents->total_size += extents->args_size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue