Memory changes part 2 crash fix

* This was an oversight: Two lines were left out when initially cherry-picking from Ryubing
This commit is contained in:
KeatonTheBot 2025-09-12 17:45:06 -05:00
parent 867a92a8bc
commit 3a387309b4

View file

@ -85,6 +85,9 @@ namespace Ryujinx.Graphics.Nvdec.Vp9
cm.Lf.RefDeltas = pictureInfo.RefDeltas;
cm.Lf.ModeDeltas = pictureInfo.ModeDeltas;
cm.Fc = new Ptr<Vp9EntropyProbs>(ref pictureInfo.Entropy);
cm.Counts = new Ptr<Vp9BackwardUpdates>(ref pictureInfo.BackwardUpdateCounts);
Span<RefBuffer> frameRefsSpan = cm.FrameRefs.AsSpan();
frameRefsSpan[0].Buf = (Surface)pictureInfo.LastReference;
frameRefsSpan[1].Buf = (Surface)pictureInfo.GoldenReference;