Author: aandrejevic Date: Mon Feb 29 04:14:55 2016 New Revision: 70816
URL: http://svn.reactos.org/svn/reactos?rev=70816&view=rev Log: [NTVDM] VidBiosScrollWindow shouldn't corrupt the screen in non-alphanumeric modes. CORE-10877
Modified: trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/bios/... ============================================================================== --- trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/mvdm/ntvdm/bios/vidbios.c [iso-8859-1] Mon Feb 29 04:14:55 2016 @@ -1991,6 +1991,13 @@
WORD WindowWidth, WindowHeight;
+ /* TODO: This function doesn't work in non-alphanumeric modes yet */ + if (Bda->VideoMode > 3) + { + DPRINT1("VidBiosScrollWindow: not implemented for mode 0%Xh\n", Bda->VideoMode); + return FALSE; + } + /* Fixup the rectangle if needed */ Rectangle.Left = min(max(Rectangle.Left , 0), Bda->ScreenColumns - 1); Rectangle.Right = min(max(Rectangle.Right , 0), Bda->ScreenColumns - 1);