do this "properly"
This commit is contained in:
parent
509096f41c
commit
81464d72f4
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.
|
@ -183,10 +183,14 @@ ECL_EXPORT void FrameAdvance(MyFrameInfo& frame)
|
|||
|
||||
for (int line = lineStart; line < lineEnd; line++)
|
||||
{
|
||||
auto lw = EES->InterlaceOn ? EES->LineWidths[line] : w;
|
||||
auto lw = multiWidth ? EES->LineWidths[line] : w;
|
||||
if (MDFN_LIKELY(lw > 0))
|
||||
{
|
||||
memcpy(dst, src, lw * sizeof(uint32_t));
|
||||
if (!EES->InterlaceOn && lw < w)
|
||||
{
|
||||
memset(dst + lw, 0, (w - lw) * sizeof(uint32_t));
|
||||
}
|
||||
src += srcp;
|
||||
dst += dstp;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue