summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorTheKoopaKingdom <thekoopakingdom@gmail.com>2017-04-13 07:18:54 +0200
committerTheKoopaKingdom <thekoopakingdom@gmail.com>2017-06-03 00:28:14 +0200
commita8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7 (patch)
tree37a7edc6a27eff75c96117203f48c9f1ec640b97 /src/core/loader
parentOptimized messages that were repetitive and added ability for core errors to specify more details optionally. (diff)
downloadyuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar
yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.gz
yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.bz2
yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.lz
yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.xz
yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.zst
yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.zip
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/loader.h4
-rw-r--r--src/core/loader/ncch.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 0a2d4a10e..adb3ffdcf 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -10,9 +10,7 @@
#include <string>
#include <utility>
#include <vector>
-
#include <boost/optional.hpp>
-
#include "common/common_types.h"
#include "common/file_util.h"
@@ -103,7 +101,7 @@ public:
* 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.
- * @return A pair with the system mode (If found) and the result.
+ * @returns a pair of Optional with the kernel system mode and ResultStatus.
*/
virtual std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() {
// 96MB allocated to the application.
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h
index 712d496a4..507da7550 100644
--- a/src/core/loader/ncch.h
+++ b/src/core/loader/ncch.h
@@ -179,7 +179,7 @@ public:
/**
* Loads the Exheader and returns the system mode for this application.
- * @return A pair with the system mode (If found) and the result.
+ * @returns a pair of Optional with the kernel system mode and ResultStatus
*/
std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() override;