Merge pull request #48 from Pokechu22/efb-copy-invalidate

CGX_DoEfbCopyTex: Use DCInvalidateRange instead of DCFlushRange
This commit is contained in:
Pokechu22
2022-04-23 09:56:13 -07:00
committed by GitHub

View File

@@ -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,