mirror of
https://github.com/86Box/86Box.git
synced 2025-01-23 09:42:47 -05:00
Fix bottom line being glitched
This commit is contained in:
parent
9cd757c213
commit
03a6b2b50a
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ void RendererStack::blit(int x, int y, int w, int h)
|
|||
sw = this->w = w;
|
||||
sh = this->h = h;
|
||||
uint8_t* imagebits = std::get<uint8_t*>(imagebufs[currentBuf]);
|
||||
for (int y1 = y; y1 < (y + h - 1); y1++)
|
||||
for (int y1 = y; y1 < (y + h); y1++)
|
||||
{
|
||||
auto scanline = imagebits + (y1 * (2048) * 4) + (x * 4);
|
||||
video_copy(scanline, &(buffer32->line[y1][x]), w * 4);
|
||||
|
|
Loading…
Add table
Reference in a new issue