Browse Source

nvdec: Better logging for unimplemented codecs

ameerj 5 năm trước cách đây
mục cha
commit
928b64d2ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
     }
 }