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 | d00d0d61e094f4aec7e3a1b82cd4e130fdccaa01 (patch) | |
| tree | 6b3257864d76a4cdd3d8bb9847e55a2a51ff7573 /src/core/system.h | |
| parent | c728fccd9e11285b15ea7c8af27060bc48f23533 (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/system.h')
| -rw-r--r-- | src/core/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/system.h b/src/core/system.h index 6d672b1b54..b41fc088a8 100644 --- a/src/core/system.h +++ b/src/core/system.h @@ -15,7 +15,7 @@ enum class Result { ErrorInitVideoCore, ///< Something went wrong during video core init }; -Result Init(EmuWindow* emu_window); +Result Init(EmuWindow* emu_window, u32 system_mode); bool IsPoweredOn(); void Shutdown(); } |
