[FREELDR:PC98] Use RtlMoveMemory() when scrolling up text in video (#8498)

This commit is contained in:
Hermès Bélusca-Maïto
2025-12-05 22:13:16 +01:00
parent 363aa21a54
commit e13839699a

View File

@@ -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);