GSdx: persona 4 character shadow error fixed, might break other things (hope it doesn't :P)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@841 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 2009-03-24 13:13:51 +00:00
parent 0c90ff1eb6
commit 9a1c89cb4f
1 changed files with 2 additions and 2 deletions

View File

@ -676,7 +676,7 @@ public:
{
int y = m_renderer->m_mem.m_psm[BITBLTBUF.DPSM].pgs.cy * offset / rowsize;
if(r.bottom >= y)
if(r.bottom > y)
{
// TODO: do not add this rect above too
rt->m_dirty.AddTail(GSDirtyRect(BITBLTBUF.DPSM, CRect(r.left, r.top - y, r.right, r.bottom - y)));
@ -721,7 +721,7 @@ public:
{
int y = m_renderer->m_mem.m_psm[BITBLTBUF.DPSM].pgs.cy * offset / rowsize;
if(r.bottom >= y)
if(r.bottom > y)
{
// TODO: do not add this rect above too
ds->m_dirty.AddTail(GSDirtyRect(BITBLTBUF.DPSM, CRect(r.left, r.top - y, r.right, r.bottom - y)));