Parcourir la source

Ensure that DMA copy target textures are kept alive or flushed (#2478)

gdkchan il y a 5 ans
Parent
commit
bb6fab2009
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Ryujinx.Graphics.Gpu/Image/TextureCache.cs

+ 1 - 0
Ryujinx.Graphics.Gpu/Image/TextureCache.cs

@@ -816,6 +816,7 @@ namespace Ryujinx.Graphics.Gpu.Image
 
                 if (match)
                 {
+                    _cache.Lift(texture);
                     return texture;
                 }
             }