From 1aebca37409173943d5f6e320d9e76209e4b3ed0 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 12 Apr 2015 11:05:23 +0200 Subject: [PATCH] gsdx hack: m_userhacks_round_sprite_offset take precedence over m_userhacks_stretch_sprite m_userhacks_stretch_sprite is only kept for debugging. Let's avoid bad mixing by users --- plugins/GSdx/GSRendererHW.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/GSdx/GSRendererHW.cpp b/plugins/GSdx/GSRendererHW.cpp index 410659e7dd..c48a702c40 100644 --- a/plugins/GSdx/GSRendererHW.cpp +++ b/plugins/GSdx/GSRendererHW.cpp @@ -35,6 +35,10 @@ GSRendererHW::GSRendererHW(GSTextureCache* tc) m_userhacks_align_sprite_X = !!theApp.GetConfig("UserHacks_align_sprite_X", 0) && !!theApp.GetConfig("UserHacks", 0); m_userhacks_stretch_sprite = !!theApp.GetConfig("UserHacks_stretch_sprite", 0) && !!theApp.GetConfig("UserHacks", 0); m_userhacks_round_sprite_offset = !!theApp.GetConfig("UserHacks", 0) ? theApp.GetConfig("UserHacks_round_sprite_offset", 0) : 0; + if (m_userhacks_round_sprite_offset) { + // m_userhacks_round_sprite_offset is a better hack + m_userhacks_stretch_sprite = 0; + } if(!m_nativeres) {