GS: Fix reversed reversed GS copies.

This commit is contained in:
refractionpcsx2 2022-04-04 18:07:54 +01:00
parent 5987e03463
commit e170e9281d
1 changed files with 3 additions and 3 deletions

View File

@ -1869,11 +1869,11 @@ void GSState::Move()
// What probably happens is because the copy is buffered, the source stays just ahead of the destination.
if (sbp == dbp && (((_sy < _dy) && ((ypage + page_height) > _dy)) || ((sx < dx) && ((xpage + page_width) > dx))))
{
int starty = 0;
int endy = h;
int starty = (yinc > 0) ? 0 : h-1;
int endy = (yinc > 0) ? h : -1;
int y_inc = yinc;
if (((_sy < _dy) && ((ypage + page_height) > _dy)))
if (((_sy < _dy) && ((ypage + page_height) > _dy)) && yinc > 0)
{
_sy += h;
_dy += h;