diff options
| author | 2017-04-13 01:18:54 -0400 | |
|---|---|---|
| committer | 2017-06-02 18:28:14 -0400 | |
| commit | a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7 (patch) | |
| tree | 37a7edc6a27eff75c96117203f48c9f1ec640b97 /src/core/loader/loader.h | |
| parent | Optimized messages that were repetitive and added ability for core errors to ... (diff) | |
| download | yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.gz yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.xz yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.zip | |
Created a whitelist of system archives to prevent false positives creating dialogs.
Diffstat (limited to 'src/core/loader/loader.h')
| -rw-r--r-- | src/core/loader/loader.h | 4 |
1 files changed, 1 insertions, 3 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 @@ | |||
| 10 | #include <string> | 10 | #include <string> |
| 11 | #include <utility> | 11 | #include <utility> |
| 12 | #include <vector> | 12 | #include <vector> |
| 13 | |||
| 14 | #include <boost/optional.hpp> | 13 | #include <boost/optional.hpp> |
| 15 | |||
| 16 | #include "common/common_types.h" | 14 | #include "common/common_types.h" |
| 17 | #include "common/file_util.h" | 15 | #include "common/file_util.h" |
| 18 | 16 | ||
| @@ -103,7 +101,7 @@ public: | |||
| 103 | * Loads the system mode that this application needs. | 101 | * Loads the system mode that this application needs. |
| 104 | * 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 |
| 105 | * information. | 103 | * information. |
| 106 | * @return A pair with the system mode (If found) and the result. | 104 | * @returns a pair of Optional with the kernel system mode and ResultStatus. |
| 107 | */ | 105 | */ |
| 108 | virtual std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() { | 106 | virtual std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() { |
| 109 | // 96MB allocated to the application. | 107 | // 96MB allocated to the application. |