mirror of https://github.com/PCSX2/pcsx2.git
GSdx-OGL: Extend ICO workaround to PAL videomode
This commit is contained in:
parent
11ed4de0aa
commit
266c114c1e
|
@ -1312,8 +1312,10 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
|
|||
|
||||
if (m_game.title == CRC::ICO) {
|
||||
GSVertex* v = &m_vertex.buff[0];
|
||||
const GSVideoMode mode = GetVideoMode();
|
||||
if (tex && m_vt.m_primclass == GS_SPRITE_CLASS && m_vertex.next == 2 && PRIM->ABE && // Blend texture
|
||||
v[1].U == 8200 && v[1].V == 7176 && // at display resolution 512x448
|
||||
((v[1].U == 8200 && v[1].V == 7176 && mode == GSVideoMode::NTSC) || // at display resolution 512x448
|
||||
(v[1].U == 8200 && v[1].V == 8200 && mode == GSVideoMode::PAL)) && // at display resolution 512x512
|
||||
tex->m_TEX0.PSM == PSM_PSMT8H) { // i.e. read the alpha channel of a 32 bits texture
|
||||
// Note potentially we can limit to TBP0:0x2800
|
||||
|
||||
|
|
Loading…
Reference in New Issue