diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-02 14:25:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-02 14:25:52 -0400 |
| commit | fca7d975fdbeb1c63677b80efc03920affee4b12 (patch) | |
| tree | bbded6cf80886c6def87bae92cf6784340165de9 /src/video_core/host1x/codecs/h264.cpp | |
| parent | 36aca262e3dc1cac4ee7e1415ddde8e4255ea42b (diff) | |
| parent | 32b4d63a5bdc838c26582235b9bf16bde300a760 (diff) | |
Merge pull request #10839 from lat9nq/pgc-plus
general: Reimplement per-game configurations
Diffstat (limited to 'src/video_core/host1x/codecs/h264.cpp')
| -rw-r--r-- | src/video_core/host1x/codecs/h264.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/host1x/codecs/h264.cpp b/src/video_core/host1x/codecs/h264.cpp index 862904e39..ece79b1e2 100644 --- a/src/video_core/host1x/codecs/h264.cpp +++ b/src/video_core/host1x/codecs/h264.cpp @@ -84,7 +84,7 @@ std::span<const u8> H264::ComposeFrame(const Host1x::NvdecCommon::NvdecRegisters // TODO (ameerj): Where do we get this number, it seems to be particular for each stream const auto nvdec_decoding = Settings::values.nvdec_emulation.GetValue(); - const bool uses_gpu_decoding = nvdec_decoding == Settings::NvdecEmulation::GPU; + const bool uses_gpu_decoding = nvdec_decoding == Settings::NvdecEmulation::Gpu; const u32 max_num_ref_frames = uses_gpu_decoding ? 6u : 16u; writer.WriteUe(max_num_ref_frames); writer.WriteBit(false); |
