Explorar o código

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

gdkchan %!s(int64=4) %!d(string=hai) anos
pai
achega
bb6fab2009
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
                 }
             }