From 92920c4005135048ae59bd613b4352e56a1f7fe5 Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Tue, 30 Aug 2016 15:46:55 +0200 Subject: [PATCH] TextureCacheBase: Address 0x0 is valid, don't you dare ignore it. --- Source/Core/VideoCommon/TextureCacheBase.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 1cc0e3635e..ab260aedd7 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -506,9 +506,6 @@ TextureCacheBase::TCacheEntryBase* TextureCacheBase::Load(const u32 stage) u32 tex_levels = use_mipmaps ? ((tex.texMode1[id].max_lod + 0xf) / 0x10 + 1) : 1; const bool from_tmem = tex.texImage1[id].image_type != 0; - if (0 == address) - return nullptr; - // TexelSizeInNibbles(format) * width * height / 16; const unsigned int bsw = TexDecoder_GetBlockWidthInTexels(texformat); const unsigned int bsh = TexDecoder_GetBlockHeightInTexels(texformat);