mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[BOOTVID] Fix screen buffer copying code for PC-98 (#2936)
This commit is contained in:
parent
c87be643f8
commit
e318801c1c
1 changed files with 2 additions and 1 deletions
|
@ -421,7 +421,7 @@ VidScreenToBufferBlt(
|
|||
ULONG X, Y;
|
||||
PUCHAR OutputBuffer;
|
||||
USHORT Px;
|
||||
PUSHORT PixelsPosition = (PUSHORT)(FrameBuffer + FB_OFFSET(Left, Top));
|
||||
PUSHORT PixelsPosition;
|
||||
|
||||
/* Clear the destination buffer */
|
||||
RtlZeroMemory(Buffer, Delta * Height);
|
||||
|
@ -429,6 +429,7 @@ VidScreenToBufferBlt(
|
|||
for (Y = 0; Y < Height; Y++)
|
||||
{
|
||||
OutputBuffer = Buffer + Y * Delta;
|
||||
PixelsPosition = (PUSHORT)(FrameBuffer + FB_OFFSET(Left, Top + Y));
|
||||
|
||||
for (X = 0; X < Width; X += sizeof(USHORT))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue