소스 검색

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

gdkchan 4 년 전
부모
커밋
bb6fab2009
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
                 }
             }