From 909584d4733bd685d4d7f2513d88d4a429efb90d Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Mon, 15 Feb 2016 20:27:51 +0000 Subject: [PATCH] GSDX: Disable Nvidia hack when in native res --- plugins/GSdx/GSDevice11.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/GSdx/GSDevice11.cpp b/plugins/GSdx/GSDevice11.cpp index 6b4117d404..e15a44e314 100644 --- a/plugins/GSdx/GSDevice11.cpp +++ b/plugins/GSdx/GSDevice11.cpp @@ -1262,14 +1262,15 @@ void GSDevice11::OMSetRenderTargets(GSTexture* rt, GSTexture* ds, const GSVector GSVector2i size = rt ? rt->GetSize() : ds->GetSize(); if(m_state.viewport != size) { + bool isNative = theApp.GetConfig("upscale_multiplier", 1) == 1; m_state.viewport = size; D3D11_VIEWPORT vp; memset(&vp, 0, sizeof(vp)); - vp.TopLeftX = (spritehack > 0) ? 0.0f : -0.01f; - vp.TopLeftY = (spritehack > 0) ? 0.0f : -0.01f; + vp.TopLeftX = (spritehack > 0 || isNative) ? 0.0f : -0.01f; + vp.TopLeftY = (spritehack > 0 || isNative) ? 0.0f : -0.01f; vp.Width = (float)size.x; vp.Height = (float)size.y; vp.MinDepth = 0.0f;