From 3a387309b4392dddc801892cae29e5115c82402f Mon Sep 17 00:00:00 2001 From: KeatonTheBot Date: Fri, 12 Sep 2025 17:45:06 -0500 Subject: [PATCH] Memory changes part 2 crash fix * This was an oversight: Two lines were left out when initially cherry-picking from Ryubing --- src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs b/src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs index 010884a3b..933800484 100644 --- a/src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs +++ b/src/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs @@ -85,6 +85,9 @@ namespace Ryujinx.Graphics.Nvdec.Vp9 cm.Lf.RefDeltas = pictureInfo.RefDeltas; cm.Lf.ModeDeltas = pictureInfo.ModeDeltas; + cm.Fc = new Ptr(ref pictureInfo.Entropy); + cm.Counts = new Ptr(ref pictureInfo.BackwardUpdateCounts); + Span frameRefsSpan = cm.FrameRefs.AsSpan(); frameRefsSpan[0].Buf = (Surface)pictureInfo.LastReference; frameRefsSpan[1].Buf = (Surface)pictureInfo.GoldenReference;