summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-29 03:42:50 +0200
committerLioncash <mathew1800@gmail.com>2019-05-29 04:28:44 +0200
commit84a8fb9264b5018d97e487f3e473b5ebb43b48f1 (patch)
treee8870936df26b17ea3008978489ceb238fc8683a /src/core
parentcore/telemetry_session: Remove unnecessary web service nulling out in destructor (diff)
downloadyuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.tar
yuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.tar.gz
yuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.tar.bz2
yuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.tar.lz
yuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.tar.xz
yuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.tar.zst
yuzu-84a8fb9264b5018d97e487f3e473b5ebb43b48f1.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.cpp9
-rw-r--r--src/core/core.h1
-rw-r--r--src/core/loader/loader.h11
3 files changed, 0 insertions, 21 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 9f9356f53..5098bdcff 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -148,15 +148,6 @@ struct System::Impl {
LOG_CRITICAL(Core, "Failed to obtain loader for {}!", filepath);
return ResultStatus::ErrorGetLoader;
}
- std::pair<std::optional<u32>, Loader::ResultStatus> system_mode =
- app_loader->LoadKernelSystemMode();
-
- if (system_mode.second != Loader::ResultStatus::Success) {
- LOG_CRITICAL(Core, "Failed to determine system mode (Error {})!",
- static_cast<int>(system_mode.second));
-
- return ResultStatus::ErrorSystemMode;
- }
ResultStatus init_result{Init(system, emu_window)};
if (init_result != ResultStatus::Success) {
diff --git a/src/core/core.h b/src/core/core.h
index a9a756a4c..20959de54 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -98,7 +98,6 @@ public:
Success, ///< Succeeded
ErrorNotInitialized, ///< Error trying to use core prior to initialization
ErrorGetLoader, ///< Error finding the correct application loader
- ErrorSystemMode, ///< Error determining the system mode
ErrorSystemFiles, ///< Error in finding system files
ErrorSharedFont, ///< Error in finding shared font
ErrorVideoCore, ///< Error in the video core
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:
virtual LoadResult Load(Kernel::Process& process) = 0;
/**
- * Loads the system mode that this application needs.
- * This function defaults to 2 (96MB allocated to the application) if it can't read the
- * information.
- * @returns A pair with the optional system mode, and and the status.
- */
- virtual std::pair<std::optional<u32>, ResultStatus> LoadKernelSystemMode() {
- // 96MB allocated to the application.
- return std::make_pair(2, ResultStatus::Success);
- }
-
- /**
* Get the code (typically .code section) of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function