mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 17:59:48 +08:00
[FREELDR:PC98] Use RtlMoveMemory() when scrolling up text in video (#8498)
This commit is contained in:
@@ -27,7 +27,7 @@ Pc98ConsPutChar(int Ch)
|
||||
/* If scrolling is needed */
|
||||
if (CursorPosition >= TextCols * TextLines)
|
||||
{
|
||||
RtlCopyMemory((PUSHORT)VramText,
|
||||
RtlMoveMemory((PUSHORT)VramText,
|
||||
(PUSHORT)(VramText + TextCols * TEXT_CHAR_SIZE),
|
||||
TextCols * TextLines * TEXT_CHAR_SIZE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user