diff options
| author | 2017-06-02 17:03:38 -0400 | |
|---|---|---|
| committer | 2017-06-02 18:40:39 -0400 | |
| commit | f008b22e3b2baa7720ea65c320fe49929a53bad7 (patch) | |
| tree | 24a15888dd6ebc515a09eaf00623fa23e2d4665d /src/core/loader | |
| parent | Fixed wiki URLs. (diff) | |
| download | yuzu-f008b22e3b2baa7720ea65c320fe49929a53bad7.tar.gz yuzu-f008b22e3b2baa7720ea65c320fe49929a53bad7.tar.xz yuzu-f008b22e3b2baa7720ea65c320fe49929a53bad7.zip | |
Addressed Bunnei's review comments, and made some other tweaks:
- Deleted GetStatus() because it wasn't used anywhere outside of Core::System.
- Fixed design flaw where the message bar status could be set despite the game being stopped.
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/loader.h | 2 | ||||
| -rw-r--r-- | src/core/loader/ncch.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index adb3ffdcf..48bbf687d 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h | |||
| @@ -101,7 +101,7 @@ public: | |||
| 101 | * Loads the system mode that this application needs. | 101 | * Loads the system mode that this application needs. |
| 102 | * 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 |
| 103 | * information. | 103 | * information. |
| 104 | * @returns a pair of Optional with the kernel system mode and ResultStatus. | 104 | * @returns A pair with the optional system mode, and and the status. |
| 105 | */ | 105 | */ |
| 106 | virtual std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() { | 106 | virtual std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() { |
| 107 | // 96MB allocated to the application. | 107 | // 96MB allocated to the application. |
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index 507da7550..0ebd47fd5 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h | |||
| @@ -179,7 +179,7 @@ public: | |||
| 179 | 179 | ||
| 180 | /** | 180 | /** |
| 181 | * Loads the Exheader and returns the system mode for this application. | 181 | * Loads the Exheader and returns the system mode for this application. |
| 182 | * @returns a pair of Optional with the kernel system mode and ResultStatus | 182 | * @returns A pair with the optional system mode, and and the status. |
| 183 | */ | 183 | */ |
| 184 | std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() override; | 184 | std::pair<boost::optional<u32>, ResultStatus> LoadKernelSystemMode() override; |
| 185 | 185 | ||