Changed the aspect ratio settings to account for NTSC/PAL pixel aspect ratios and VI scaling.

This commit is contained in:
mirrorbender 2015-07-20 20:12:29 -04:00
parent ab2e68aa16
commit 0faba3b018
9 changed files with 126 additions and 38 deletions

View file

@ -56,6 +56,14 @@ FramebufferManager::FramebufferManager()
{
m_target_width = Renderer::GetTargetWidth();
m_target_height = Renderer::GetTargetHeight();
if(m_target_height < 1)
{
m_target_height = 1;
}
if(m_target_width < 1)
{
m_target_width = 1;
}
DXGI_SAMPLE_DESC sample_desc = D3D::GetAAMode(g_ActiveConfig.iMultisampleMode);
ID3D11Texture2D* buf;