summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-16 00:25:57 +0200
committerGitHub <noreply@github.com>2018-08-16 00:25:57 +0200
commit69236e5affdb8603b5e61fae2c0acb5853129956 (patch)
tree334d2ea7d8997163640af2d0d2e25c841597241a /src/yuzu_cmd/yuzu.cpp
parentMerge pull request #1051 from B3n30/UnscheduleEventThreadsafe (diff)
parentloader: Make ResultStatus directly compatible with fmt (diff)
downloadyuzu-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/yuzu_cmd/yuzu.cpp')
-rw-r--r--src/yuzu_cmd/yuzu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index e44a98311..9095cf27d 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -7,6 +7,8 @@
#include <string>
#include <thread>
+#include <fmt/ostream.h>
+
#include "common/common_paths.h"
#include "common/logging/backend.h"
#include "common/logging/filter.h"
@@ -194,7 +196,7 @@ int main(int argc, char** argv) {
"While attempting to load the ROM requested, an error occured. Please "
"refer to the yuzu wiki for more information or the yuzu discord for "
"additional help.\n\nError Code: {:04X}-{:04X}\nError Description: {}",
- loader_id, error_id, Loader::GetMessageForResultStatus(error_id));
+ loader_id, error_id, static_cast<Loader::ResultStatus>(error_id));
}
}