From a21ac22e0786c538ea94d3631ece39c2ba07b771 Mon Sep 17 00:00:00 2001 From: mimimi085181 Date: Wed, 28 Jun 2017 22:33:19 +0200 Subject: [PATCH] fix stored memory stride for normal textures --- Source/Core/VideoCommon/TextureCacheBase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index cd9b9dd19f..ce87a8c767 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -823,6 +823,7 @@ TextureCacheBase::TCacheEntry* TextureCacheBase::Load(const u32 stage) entry->SetHashes(base_hash, full_hash); entry->is_efb_copy = false; entry->is_custom_tex = hires_tex != nullptr; + entry->memory_stride = entry->BytesPerRow(); std::string basename = ""; if (g_ActiveConfig.bDumpTextures && !hires_tex)