GS-tc-hw: Fix Normal Half pixel offset on 7x upscale.

This commit is contained in:
lightningterror 2022-04-01 13:58:54 +02:00
parent 906480b8e2
commit f021da5627
1 changed files with 1 additions and 0 deletions

View File

@ -1419,6 +1419,7 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
case 4: modx = 4.2f; mody = 4.2f; dst->m_texture->LikelyOffset = true; break;
case 5: modx = 5.3f; mody = 5.3f; dst->m_texture->LikelyOffset = true; break;
case 6: modx = 6.2f; mody = 6.2f; dst->m_texture->LikelyOffset = true; break;
case 7: modx = 7.1f; mody = 7.1f; dst->m_texture->LikelyOffset = true; break;
case 8: modx = 8.2f; mody = 8.2f; dst->m_texture->LikelyOffset = true; break;
default: modx = 0.0f; mody = 0.0f; dst->m_texture->LikelyOffset = false; break;
}