Explorar o código

Merge pull request #6830 from ameerj/nvdec-unimpld-codec

nvdec: Better logging for unimplemented codecs
bunnei %!s(int64=5) %!d(string=hai) anos
pai
achega
bd0e1d3a25
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video_core/command_classes/nvdec.cpp

+ 1 - 1
src/video_core/command_classes/nvdec.cpp

@@ -39,7 +39,7 @@ void Nvdec::Execute() {
         codec->Decode();
         break;
     default:
-        UNIMPLEMENTED_MSG("Unknown codec {}", static_cast<u32>(codec->GetCurrentCodec()));
+        UNIMPLEMENTED_MSG("Codec {}", codec->GetCurrentCodecName());
         break;
     }
 }