diff options
| author | 2016-11-19 20:40:04 -0500 | |
|---|---|---|
| committer | 2016-11-19 20:40:04 -0500 | |
| commit | 1323ab2f5f1627b39e48b6f970ad8208fa7af71e (patch) | |
| tree | 6b3257864d76a4cdd3d8bb9847e55a2a51ff7573 /src/core/system.h | |
| parent | Merge pull request #2172 from jroweboy/fix-mingw (diff) | |
| download | yuzu-1323ab2f5f1627b39e48b6f970ad8208fa7af71e.tar.gz yuzu-1323ab2f5f1627b39e48b6f970ad8208fa7af71e.tar.xz yuzu-1323ab2f5f1627b39e48b6f970ad8208fa7af71e.zip | |
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 '')
| -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 6d672b1b5..b41fc088a 100644 --- a/src/core/system.h +++ b/src/core/system.h | |||
| @@ -15,7 +15,7 @@ enum class Result { | |||
| 15 | ErrorInitVideoCore, ///< Something went wrong during video core init | 15 | ErrorInitVideoCore, ///< Something went wrong during video core init |
| 16 | }; | 16 | }; |
| 17 | 17 | ||
| 18 | Result Init(EmuWindow* emu_window); | 18 | Result Init(EmuWindow* emu_window, u32 system_mode); |
| 19 | bool IsPoweredOn(); | 19 | bool IsPoweredOn(); |
| 20 | void Shutdown(); | 20 | void Shutdown(); |
| 21 | } | 21 | } |