diff options
author | Lioncash <mathew1800@gmail.com> | 2020-12-07 06:41:47 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-07 06:41:50 +0100 |
commit | 4c5f5c9bf301d3626df104dbed6fed6f115cedc8 (patch) | |
tree | 968245c43735e546fff2a8c7dcecfe653dee33fd /src/video_core/command_classes | |
parent | Merge pull request #5147 from comex/xx-purevirt (diff) | |
download | yuzu-4c5f5c9bf301d3626df104dbed6fed6f115cedc8.tar yuzu-4c5f5c9bf301d3626df104dbed6fed6f115cedc8.tar.gz yuzu-4c5f5c9bf301d3626df104dbed6fed6f115cedc8.tar.bz2 yuzu-4c5f5c9bf301d3626df104dbed6fed6f115cedc8.tar.lz yuzu-4c5f5c9bf301d3626df104dbed6fed6f115cedc8.tar.xz yuzu-4c5f5c9bf301d3626df104dbed6fed6f115cedc8.tar.zst yuzu-4c5f5c9bf301d3626df104dbed6fed6f115cedc8.zip |
Diffstat (limited to 'src/video_core/command_classes')
-rw-r--r-- | src/video_core/command_classes/codecs/codec.cpp | 4 | ||||
-rw-r--r-- | src/video_core/command_classes/vic.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/command_classes/codecs/codec.cpp b/src/video_core/command_classes/codecs/codec.cpp index f547f5bd4..39bc923a5 100644 --- a/src/video_core/command_classes/codecs/codec.cpp +++ b/src/video_core/command_classes/codecs/codec.cpp @@ -44,7 +44,7 @@ Codec::~Codec() { } void Codec::SetTargetCodec(NvdecCommon::VideoCodec codec) { - LOG_INFO(Service_NVDRV, "NVDEC video codec initialized to {}", static_cast<u32>(codec)); + LOG_INFO(Service_NVDRV, "NVDEC video codec initialized to {}", codec); current_codec = codec; } @@ -62,7 +62,7 @@ void Codec::Decode() { } else if (current_codec == NvdecCommon::VideoCodec::Vp9) { av_codec = avcodec_find_decoder(AV_CODEC_ID_VP9); } else { - LOG_ERROR(Service_NVDRV, "Unknown video codec {}", static_cast<u32>(current_codec)); + LOG_ERROR(Service_NVDRV, "Unknown video codec {}", current_codec); return; } diff --git a/src/video_core/command_classes/vic.cpp b/src/video_core/command_classes/vic.cpp index 6cfc193fa..66e21ce9c 100644 --- a/src/video_core/command_classes/vic.cpp +++ b/src/video_core/command_classes/vic.cpp @@ -27,7 +27,7 @@ void Vic::VicStateWrite(u32 offset, u32 arguments) { } void Vic::ProcessMethod(Method method, const std::vector<u32>& arguments) { - LOG_DEBUG(HW_GPU, "Vic method 0x{:X}", static_cast<u32>(method)); + LOG_DEBUG(HW_GPU, "Vic method 0x{:X}", method); VicStateWrite(static_cast<u32>(method), arguments[0]); const u64 arg = static_cast<u64>(arguments[0]) << 8; switch (method) { |