GS: Add local references to Move lambda function

This commit is contained in:
refractionpcsx2 2023-12-15 11:19:12 +00:00
parent 918328e5b0
commit 0fd5db9f78
1 changed files with 1 additions and 1 deletions

View File

@ -2122,7 +2122,7 @@ void GSState::Move()
m_draw_transfers.push_back(new_transfer);
}
auto copy = [=](const GSOffset& dpo, const GSOffset& spo, auto&& pxCopyFn)
auto copy = [this, sbp, dbp, sx, sy, dx, dy, w, h, yinc, xinc](const GSOffset& dpo, const GSOffset& spo, auto&& pxCopyFn)
{
int _sy = sy, _dy = dy; // Faster with local copied variables, compiler optimizations are dumb
if (xinc > 0)