summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-28 21:42:50 -0400
committerGravatar Lioncash2019-05-28 22:28:44 -0400
commit84a8fb9264b5018d97e487f3e473b5ebb43b48f1 (patch)
treee8870936df26b17ea3008978489ceb238fc8683a /src/core/loader/loader.h
parentcore/telemetry_session: Remove unnecessary web service nulling out in destructor (diff)
downloadyuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.tar.gz
yuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.tar.xz
yuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.zip
core/loader: Remove LoadKernelSystemMode
This is a hold-over from Citra and doesn't apply to yuzu.
Diffstat (limited to 'src/core/loader/loader.h')
-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