diff --git a/plugins/GSdx/GSTextureCache.cpp b/plugins/GSdx/GSTextureCache.cpp index 7447a7e765..4099028506 100644 --- a/plugins/GSdx/GSTextureCache.cpp +++ b/plugins/GSdx/GSTextureCache.cpp @@ -1536,7 +1536,7 @@ void GSTextureCache::Source::Update(const GSVector4i& rect) return; } - GSVector2i bs = GSLocalMemory::m_psm[m_TEX0.PSM].bs; + const GSVector2i& bs = GSLocalMemory::m_psm[m_TEX0.PSM].bs; int tw = std::max(1 << m_TEX0.TW, bs.x); int th = std::max(1 << m_TEX0.TH, bs.y);