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
This commit is contained in:
Gregory Hainaut 2015-04-12 11:05:23 +02:00
parent c4fef0256e
commit 1aebca3740
1 changed files with 4 additions and 0 deletions

View File

@ -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_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_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; 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) if(!m_nativeres)
{ {