From e07ba431068f907e6c1b8180dd637e922208b80b Mon Sep 17 00:00:00 2001 From: R2DLiu Date: Sun, 23 Aug 2020 18:40:15 -0400 Subject: [PATCH] make uninitialized xfb gray --- Source/Core/VideoCommon/TextureCacheBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 5a298273d3..e6d1d7afc8 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -2412,7 +2412,7 @@ void TextureCacheBase::UninitializeXFBMemory(u8* dst, u32 stride, u32 bytes_per_ // like is done in the EFB path. #if defined(_M_X86) || defined(_M_X86_64) - __m128i sixteenBytes = _mm_set1_epi16((s16)(u16)0xFE01); + __m128i sixteenBytes = _mm_set1_epi16((s16)(u16)0x8080); #endif for (u32 i = 0; i < num_blocks_y; i++)