diff options
author | Jonathan Hao <johnathan79717@gmail.com> | 2017-01-04 17:48:29 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-04 17:48:29 +0100 |
commit | c18cb1b192d60499af3d68b244e86c8dd8f55200 (patch) | |
tree | 48c481884bb29dd7bde72694a6ed703bb416d7c3 /src/core/loader | |
parent | Update .travis.yml (diff) | |
download | yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.gz yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.bz2 yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.lz yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.xz yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.zst yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.zip |
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() { LOG_DEBUG(Loader, "Thread priority: 0x%X", priority); LOG_DEBUG(Loader, "Resource limit category: %d", resource_limit_category); LOG_DEBUG(Loader, "System Mode: %d", - exheader_header.arm11_system_local_caps.system_mode); + static_cast<int>(exheader_header.arm11_system_local_caps.system_mode)); if (exheader_header.arm11_system_local_caps.program_id != ncch_header.program_id) { 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: * Loads the Exheader and returns the system mode for this application. * @return Optional with the kernel system mode */ - boost::optional<u32> LoadKernelSystemMode(); + boost::optional<u32> LoadKernelSystemMode() override; ResultStatus ReadCode(std::vector<u8>& buffer) override; |