aboutsummaryrefslogtreecommitdiff
path: root/src/core/system.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-11-19 20:40:04 -0500
committerSubv <subv2112@gmail.com>2016-11-19 20:40:04 -0500
commit1323ab2f5f1627b39e48b6f970ad8208fa7af71e (patch)
tree6b3257864d76a4cdd3d8bb9847e55a2a51ff7573 /src/core/system.h
parentfb13bfe693e9536df700b675fef3affe09622fdd (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.h2
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();
}