summaryrefslogtreecommitdiff
path: root/src/core/system.h
diff options
context:
space:
mode:
authorGravatar Subv2016-11-19 20:40:04 -0500
committerGravatar Subv2016-11-19 20:40:04 -0500
commit1323ab2f5f1627b39e48b6f970ad8208fa7af71e (patch)
tree6b3257864d76a4cdd3d8bb9847e55a2a51ff7573 /src/core/system.h
parentMerge pull request #2172 from jroweboy/fix-mingw (diff)
downloadyuzu-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.h2
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
18Result Init(EmuWindow* emu_window); 18Result Init(EmuWindow* emu_window, u32 system_mode);
19bool IsPoweredOn(); 19bool IsPoweredOn();
20void Shutdown(); 20void Shutdown();
21} 21}