From 027ce473e7f3d9eae379835b2e6a6f74bb8bc5a1 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 21 Jul 2003 16:56:40 +0000 Subject: [PATCH] fixed the treh demo and some other. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1140 --- src/ints/int10_char.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ints/int10_char.cpp b/src/ints/int10_char.cpp index 4f799a1f..da968f63 100644 --- a/src/ints/int10_char.cpp +++ b/src/ints/int10_char.cpp @@ -309,7 +309,7 @@ static void WriteChar(Bit16u col,Bit16u row,Bit8u page,Bit8u chr,Bit8u attr,bool //TODO Check for out of bounds for (Bit8u h=0;hcheight;h++) { Bit8u bitsel=128; - Bit8u bitline=mem_readb(fontdata); + Bit8u bitline=mem_readb(fontdata++); //added ++ for at least the CGA modes. Bit16u tx=x; while (bitsel) { if (bitline&bitsel) INT10_PutPixel(tx,y,page,attr);