summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r--src/core/loader/loader.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 1d80766ae..48bbf687d 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -8,6 +8,7 @@
8#include <initializer_list> 8#include <initializer_list>
9#include <memory> 9#include <memory>
10#include <string> 10#include <string>
11#include <utility>
11#include <vector> 12#include <vector>
12#include <boost/optional.hpp> 13#include <boost/optional.hpp>
13#include "common/common_types.h" 14#include "common/common_types.h"
@@ -100,11 +101,11 @@ public:
100 * Loads the system mode that this application needs. 101 * Loads the system mode that this application needs.
101 * This function defaults to 2 (96MB allocated to the application) if it can't read the 102 * This function defaults to 2 (96MB allocated to the application) if it can't read the
102 * information. 103 * information.
103 * @returns Optional with the kernel system mode 104 * @returns A pair with the optional system mode, and and the status.
104 */ 105 */
105 virtual boost::optional<u32> LoadKernelSystemMode() { 106 virtual std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() {
106 // 96MB allocated to the application. 107 // 96MB allocated to the application.
107 return 2; 108 return std::make_pair(2, ResultStatus::Success);
108 } 109 }
109 110
110 /** 111 /**