gsdx tc: small hint for the compiler

This commit is contained in:
Gregory Hainaut 2016-05-05 15:32:21 +02:00
parent 055b9c57e7
commit 8424eeb4ee
1 changed files with 1 additions and 1 deletions

View File

@ -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<int>(1 << m_TEX0.TW, bs.x);
int th = std::max<int>(1 << m_TEX0.TH, bs.y);