diff options
author | Subv <subv2112@gmail.com> | 2016-11-19 20:40:04 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-11-19 20:40:04 -0500 |
commit | 1323ab2f5f1627b39e48b6f970ad8208fa7af71e (patch) | |
tree | 6b3257864d76a4cdd3d8bb9847e55a2a51ff7573 /src/core/hle/kernel/kernel.h | |
parent | fb13bfe693e9536df700b675fef3affe09622fdd (diff) |
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
3dsx and elf files default to system mode 2 (96MB allocated to the application).
This allows Home Menu to boot without modifications.
Closes #1849
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 6b8dbecff9..231cf7b75a 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -286,8 +286,8 @@ private: extern HandleTable g_handle_table; -/// Initialize the kernel -void Init(); +/// Initialize the kernel with the specified system mode. +void Init(u32 system_mode); /// Shutdown the kernel void Shutdown(); |