Merge pull request #962 from ssakash/GSDX_sizechecks

GSDX: Improve FB size handling
This commit is contained in:
Gregory Hainaut 2015-11-12 12:17:31 +01:00
commit d67ba015c5
1 changed files with 2 additions and 3 deletions

View File

@ -379,10 +379,9 @@ GSVector4i GSState::GetFrameRect(int i)
int w = r.width();
int h = r.height();
//Fixme: These games have an extra black bar at bottom of screen
if((m_game.title == CRC::DevilMayCry3 || m_game.title == CRC::SkyGunner) && (m_game.region == CRC::US || m_game.region == CRC::JP))
if (m_regs->SMODE1.CMOD == 2 && h > 448) // NTSC: limit games to 448, higher value causes black borders on few games
{
h = 448; //
h = 448;
}
if(m_regs->SMODE2.INT && m_regs->SMODE2.FFMD && h > 1) h >>= 1;