summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2016-08-30 15:46:55 +0200
committerJules Blok <jules.blok@gmail.com>2016-08-30 16:45:49 +0200
commit92920c4005135048ae59bd613b4352e56a1f7fe5 (patch)
treef02e83edb32b09e0fc1e55bd0c43577daf1af30f /Source/Core/VideoCommon/TextureCacheBase.cpp
parentefac0cf8fe0b1d1dc393f5f8da4ab28898d5a5f9 (diff)
TextureCacheBase: Address 0x0 is valid, don't you dare ignore it.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp3
1 files changed, 0 insertions, 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);