32x renderer, fix for render buffers with pitch != line width, some speedup

This commit is contained in:
kub 2021-01-13 23:27:11 +01:00
parent 1dee74458b
commit aa97a0a01f
3 changed files with 14 additions and 10 deletions

View file

@ -366,7 +366,7 @@ static void FinalizeLine8bitM4(int line)
{
unsigned char *pd = Pico.est.DrawLineDest;
if (HighColBase != DrawLineDestBase)
if (DrawLineDestIncrement)
memcpy(pd + line_offset, Pico.est.HighCol + line_offset + 8, 256);
}