fix weird overscan issues when multiwidth + no-interlacing happens at the same time

This commit is contained in:
CasualPokePlayer 2022-01-26 15:33:38 -08:00
parent 384bc64a86
commit edf8c041ec
8 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -183,7 +183,7 @@ ECL_EXPORT void FrameAdvance(MyFrameInfo& frame)
for (int line = lineStart; line < lineEnd; line++)
{
auto lw = multiWidth ? EES->LineWidths[line] : w;
auto lw = EES->InterlaceOn ? EES->LineWidths[line] : w;
if (MDFN_LIKELY(lw > 0))
{
memcpy(dst, src, lw * sizeof(uint32_t));