From c6417674310e1802d535e466ad941b7f4e5b68a1 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Sun, 12 Feb 2012 10:31:08 +0000 Subject: [PATCH] GSdx: Offset_UV can be defined again. (Need it to hack Wild Arms 3 text placement issues) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5095 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSState.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/GSdx/GSState.cpp b/plugins/GSdx/GSState.cpp index 3562a94f55..78bbfc8f81 100644 --- a/plugins/GSdx/GSState.cpp +++ b/plugins/GSdx/GSState.cpp @@ -471,8 +471,8 @@ void GSState::GIFPackedRegHandlerUV(const GIFPackedReg* RESTRICT r) m_v.UV = (uint32)GSVector4i::store(v.ps32(v)); #ifdef Offset_UV - m_v.UV.U = min((uint16)m_v.UV.U, (uint16)(m_v.UV.U - 4U)); - m_v.UV.V = min((uint16)m_v.UV.V, (uint16)(m_v.UV.V - 4U)); + m_v.U = min((uint16)m_v.U, (uint16)(m_v.U - 4U)); + m_v.V = min((uint16)m_v.V, (uint16)(m_v.V - 4U)); #endif } @@ -657,8 +657,8 @@ void GSState::GIFRegHandlerUV(const GIFReg* RESTRICT r) m_v.UV = r->UV.u32[0] & 0x3fff3fff; #ifdef Offset_UV - m_v.UV.U = min((uint16)m_v.UV.U, (uint16)(m_v.UV.U - 4U)); - m_v.UV.V = min((uint16)m_v.UV.V, (uint16)(m_v.UV.V - 4U)); + m_v.U = min((uint16)m_v.U, (uint16)(m_v.U - 4U)); + m_v.V = min((uint16)m_v.V, (uint16)(m_v.V - 4U)); #endif }