diff options
author | Mai <mathew1800@gmail.com> | 2022-06-14 14:34:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 14:34:16 +0200 |
commit | a3b12e3809e388e9c9b0608b14d85c0985e412c3 (patch) | |
tree | 135226fe24596286c54bf9c5c4a12868c3c55e90 /src/video_core/command_classes | |
parent | Merge pull request #8459 from Morph1984/wextra-gcc (diff) | |
parent | kernel: fix passthrough of local captures in lambda (diff) | |
download | yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.gz yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.bz2 yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.lz yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.xz yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.zst yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.zip |
Diffstat (limited to 'src/video_core/command_classes')
-rw-r--r-- | src/video_core/command_classes/codecs/codec.cpp | 2 | ||||
-rw-r--r-- | src/video_core/command_classes/vic.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/command_classes/codecs/codec.cpp b/src/video_core/command_classes/codecs/codec.cpp index 83b2e0fc4..a5eb97b7f 100644 --- a/src/video_core/command_classes/codecs/codec.cpp +++ b/src/video_core/command_classes/codecs/codec.cpp @@ -224,7 +224,7 @@ void Codec::Decode() { vp9_hidden_frame = vp9_decoder->WasFrameHidden(); return vp9_decoder->GetFrameBytes(); default: - UNREACHABLE(); + ASSERT(false); return std::vector<u8>{}; } }(); diff --git a/src/video_core/command_classes/vic.cpp b/src/video_core/command_classes/vic.cpp index bef321b6e..7c17df353 100644 --- a/src/video_core/command_classes/vic.cpp +++ b/src/video_core/command_classes/vic.cpp @@ -228,7 +228,7 @@ void Vic::WriteYUVFrame(const AVFrame* frame, const VicConfig& config) { break; } default: - UNREACHABLE(); + ASSERT(false); break; } gpu.MemoryManager().WriteBlock(output_surface_chroma_address, chroma_buffer.data(), |