From eb87feae2cb214c655225774cead700c276ff048 Mon Sep 17 00:00:00 2001 From: Matt Borgerson <contact@mborgerson.com> Date: Sat, 8 Jan 2022 02:34:54 -0700 Subject: [PATCH] nv2a: Only sync blit source surface if dirty --- hw/xbox/nv2a/pgraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xbox/nv2a/pgraph.c b/hw/xbox/nv2a/pgraph.c index d5335c7579..9e222b17ea 100644 --- a/hw/xbox/nv2a/pgraph.c +++ b/hw/xbox/nv2a/pgraph.c @@ -791,7 +791,7 @@ static void pgraph_image_blit(NV2AState *d) SurfaceBinding *surf_src = pgraph_surface_get(d, source_addr); if (surf_src) { - pgraph_download_surface_data(d, surf_src, true); + pgraph_download_surface_data_if_dirty(d, surf_src); } SurfaceBinding *surf_dest = pgraph_surface_get(d, dest_addr);