summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/loader.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index f7846db52..869406b75 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -154,17 +154,6 @@ public:
154 virtual LoadResult Load(Kernel::Process& process) = 0; 154 virtual LoadResult Load(Kernel::Process& process) = 0;
155 155
156 /** 156 /**
157 * Loads the system mode that this application needs.
158 * This function defaults to 2 (96MB allocated to the application) if it can't read the
159 * information.
160 * @returns A pair with the optional system mode, and and the status.
161 */
162 virtual std::pair<std::optional<u32>, ResultStatus> LoadKernelSystemMode() {
163 // 96MB allocated to the application.
164 return std::make_pair(2, ResultStatus::Success);
165 }
166
167 /**
168 * Get the code (typically .code section) of the application 157 * Get the code (typically .code section) of the application
169 * @param buffer Reference to buffer to store data 158 * @param buffer Reference to buffer to store data
170 * @return ResultStatus result of function 159 * @return ResultStatus result of function