mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
0c90ff1eb6
commit
9a1c89cb4f
|
@ -676,7 +676,7 @@ public:
|
||||||
{
|
{
|
||||||
int y = m_renderer->m_mem.m_psm[BITBLTBUF.DPSM].pgs.cy * offset / rowsize;
|
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
|
// 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)));
|
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;
|
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
|
// 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)));
|
ds->m_dirty.AddTail(GSDirtyRect(BITBLTBUF.DPSM, CRect(r.left, r.top - y, r.right, r.bottom - y)));
|
||||||
|
|
Loading…
Reference in New Issue