From 6da4dacf48052d9b074043d54b86c33cb2c00398 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 22 Apr 2022 18:26:19 -0700 Subject: [PATCH] CGX_DoEfbCopyTex: Use DCInvalidateRange instead of DCFlushRange --- gxtest/cgx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gxtest/cgx.cpp b/gxtest/cgx.cpp index a1b7c8a..6e3e93e 100644 --- a/gxtest/cgx.cpp +++ b/gxtest/cgx.cpp @@ -165,7 +165,7 @@ void CGX_DoEfbCopyTex(u16 left, u16 top, u16 width, u16 height, u8 dest_format, reg.clamp_bottom = true; CGX_LOAD_BP_REG(reg.Hex); - DCFlushRange(dest, GX_GetTexBufferSize(width, height, GX_TF_RGBA8, GX_FALSE, 1)); + DCInvalidateRange(dest, GX_GetTexBufferSize(width, height, GX_TF_RGBA8, GX_FALSE, 1)); } void CGX_DoEfbCopyXfb(u16 left, u16 top, u16 width, u16 src_height, u16 dst_height, void* dest,