diff options
| author | 2017-01-05 00:48:29 +0800 | |
|---|---|---|
| committer | 2017-01-04 13:48:29 -0300 | |
| commit | c18cb1b192d60499af3d68b244e86c8dd8f55200 (patch) | |
| tree | 48c481884bb29dd7bde72694a6ed703bb416d7c3 /src/core/loader | |
| parent | Update .travis.yml (diff) | |
| download | yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.gz yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.xz yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.zip | |
Fix some warnings (#2399)
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/ncch.cpp | 2 | ||||
| -rw-r--r-- | src/core/loader/ncch.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp index a204dc336..5df33f6d2 100644 --- a/src/core/loader/ncch.cpp +++ b/src/core/loader/ncch.cpp | |||
| @@ -288,7 +288,7 @@ ResultStatus AppLoader_NCCH::LoadExeFS() { | |||
| 288 | LOG_DEBUG(Loader, "Thread priority: 0x%X", priority); | 288 | LOG_DEBUG(Loader, "Thread priority: 0x%X", priority); |
| 289 | LOG_DEBUG(Loader, "Resource limit category: %d", resource_limit_category); | 289 | LOG_DEBUG(Loader, "Resource limit category: %d", resource_limit_category); |
| 290 | LOG_DEBUG(Loader, "System Mode: %d", | 290 | LOG_DEBUG(Loader, "System Mode: %d", |
| 291 | exheader_header.arm11_system_local_caps.system_mode); | 291 | static_cast<int>(exheader_header.arm11_system_local_caps.system_mode)); |
| 292 | 292 | ||
| 293 | if (exheader_header.arm11_system_local_caps.program_id != ncch_header.program_id) { | 293 | if (exheader_header.arm11_system_local_caps.program_id != ncch_header.program_id) { |
| 294 | LOG_ERROR(Loader, "ExHeader Program ID mismatch: the ROM is probably encrypted."); | 294 | LOG_ERROR(Loader, "ExHeader Program ID mismatch: the ROM is probably encrypted."); |
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index fe08f5b45..4ef95b5c6 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h | |||
| @@ -181,7 +181,7 @@ public: | |||
| 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 | * @return Optional with the kernel system mode | 182 | * @return Optional with the kernel system mode |
| 183 | */ | 183 | */ |
| 184 | boost::optional<u32> LoadKernelSystemMode(); | 184 | boost::optional<u32> LoadKernelSystemMode() override; |
| 185 | 185 | ||
| 186 | ResultStatus ReadCode(std::vector<u8>& buffer) override; | 186 | ResultStatus ReadCode(std::vector<u8>& buffer) override; |
| 187 | 187 | ||