summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-06-05 15:57:48 -0400
committerGravatar GitHub2019-06-05 15:57:48 -0400
commit799302bc9d6edade951cf7746314d96d440c823c (patch)
tree0fd074d6ab32ef2b2590bdd0c21302784976d653 /src/core/loader
parentMerge pull request #2545 from lioncash/timing (diff)
parentcore/core: Remove unnecessary includes (diff)
downloadyuzu-799302bc9d6edade951cf7746314d96d440c823c.tar.gz
yuzu-799302bc9d6edade951cf7746314d96d440c823c.tar.xz
yuzu-799302bc9d6edade951cf7746314d96d440c823c.zip
Merge pull request #2526 from lioncash/global
core/telemetry_session: Remove usages of the global system accessor
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