[PC98VID] Fix a typo, addendum to 959729f6eecc2b23fe5b56554cf9c61938dc4c1e
authorVictor Perevertkin <victor.perevertkin@reactos.org>
Fri, 9 Apr 2021 00:59:55 +0000 (03:59 +0300)
committerVictor Perevertkin <victor.perevertkin@reactos.org>
Fri, 9 Apr 2021 00:59:55 +0000 (03:59 +0300)
sdk/include/reactos/drivers/pc98/video.h

index 00db994..b9a9dc6 100644 (file)
@@ -188,7 +188,7 @@ WRITE_GDC_CSRFORM(PUCHAR Port, PCSRFORMPARAM CursorParameters)
     WRITE_PORT_UCHAR(Port, (((_Bool)CursorParameters->Show) << 7) |
                      (CursorParameters->LinesPerRow - 1));
     WRITE_PORT_UCHAR(Port, ((CursorParameters->BlinkRate & 0x03) << 6) |
-                     (((_Bool)CursorParameters->Blink) << 5) | CursorParameters->StartScanLine);
+                     (((_Bool)!CursorParameters->Blink) << 5) | CursorParameters->StartScanLine);
     WRITE_PORT_UCHAR(Port, (CursorParameters->EndScanLine << 3) | ((CursorParameters->BlinkRate & 0x1C) >> 2));
 }