mirror of
https://github.com/libretro/Mesen.git
synced 2025-02-18 15:49:12 +00:00
NTSC Filter: Fixed blank screenshots when vertical blending is turned off
This commit is contained in:
parent
115f46e05f
commit
acebd1a817
@ -141,8 +141,10 @@ void NtscFilter::GenerateArgbFrame(uint32_t *ntscBuffer)
|
||||
out++;
|
||||
}
|
||||
} else {
|
||||
memcpy(out, in + overscanLeft, rowWidthOverscan * sizeof(uint32_t));
|
||||
memcpy(out + rowWidthOverscan, in + overscanLeft, rowWidthOverscan * sizeof(uint32_t));
|
||||
for(int i = 0; i < rowWidthOverscan; i++) {
|
||||
out[i] = 0xFF000000 | in[overscanLeft+i];
|
||||
}
|
||||
memcpy(out + rowWidthOverscan, out, rowWidthOverscan * sizeof(uint32_t));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user