From e13839699ac625a0cbf807bc4a8ce7f8beddc18d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Fri, 5 Dec 2025 22:13:16 +0100 Subject: [PATCH] [FREELDR:PC98] Use RtlMoveMemory() when scrolling up text in video (#8498) --- boot/freeldr/freeldr/arch/i386/pc98/pc98cons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/freeldr/freeldr/arch/i386/pc98/pc98cons.c b/boot/freeldr/freeldr/arch/i386/pc98/pc98cons.c index d4922f972aa..2baf618ecde 100644 --- a/boot/freeldr/freeldr/arch/i386/pc98/pc98cons.c +++ b/boot/freeldr/freeldr/arch/i386/pc98/pc98cons.c @@ -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); -- 2.51.2