Ver Fonte

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

gdkchan há 4 anos atrás
pai
commit
bb6fab2009
1 ficheiros alterados com 1 adições e 0 exclusões
  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)
                 if (match)
                 {
                 {
+                    _cache.Lift(texture);
                     return texture;
                     return texture;
                 }
                 }
             }
             }