diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-16 00:25:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-16 00:25:57 +0200 |
commit | 69236e5affdb8603b5e61fae2c0acb5853129956 (patch) | |
tree | 334d2ea7d8997163640af2d0d2e25c841597241a /src/core/file_sys | |
parent | Merge pull request #1051 from B3n30/UnscheduleEventThreadsafe (diff) | |
parent | loader: Make ResultStatus directly compatible with fmt (diff) | |
download | yuzu-69236e5affdb8603b5e61fae2c0acb5853129956.tar yuzu-69236e5affdb8603b5e61fae2c0acb5853129956.tar.gz yuzu-69236e5affdb8603b5e61fae2c0acb5853129956.tar.bz2 yuzu-69236e5affdb8603b5e61fae2c0acb5853129956.tar.lz yuzu-69236e5affdb8603b5e61fae2c0acb5853129956.tar.xz yuzu-69236e5affdb8603b5e61fae2c0acb5853129956.tar.zst yuzu-69236e5affdb8603b5e61fae2c0acb5853129956.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/card_image.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp index 8e05b9d0e..060948f9e 100644 --- a/src/core/file_sys/card_image.cpp +++ b/src/core/file_sys/card_image.cpp @@ -4,11 +4,14 @@ #include <array> #include <string> -#include <core/loader/loader.h> + +#include <fmt/ostream.h> + #include "common/logging/log.h" #include "core/file_sys/card_image.h" #include "core/file_sys/partition_filesystem.h" #include "core/file_sys/vfs_offset.h" +#include "core/loader/loader.h" namespace FileSys { @@ -142,7 +145,7 @@ Loader::ResultStatus XCI::AddNCAFromPartition(XCIPartition part) { const u16 error_id = static_cast<u16>(nca->GetStatus()); LOG_CRITICAL(Loader, "Could not load NCA {}/{}, failed with error code {:04X} ({})", partition_names[static_cast<size_t>(part)], nca->GetName(), error_id, - Loader::GetMessageForResultStatus(nca->GetStatus())); + nca->GetStatus()); } } |