aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/text.cpp')
-rw-r--r--engines/lab/text.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/lab/text.cpp b/engines/lab/text.cpp
index 807df45a04..c89cec389a 100644
--- a/engines/lab/text.cpp
+++ b/engines/lab/text.cpp
@@ -90,7 +90,6 @@ void text(struct TextFont *tf, uint16 x, uint16 y, uint16 color, const char *tex
SegmentOffset = RealOffset - (curpage * VGABytesPerPage);
LeftInSegment = VGABytesPerPage - SegmentOffset;
VGACur = VGATop + SegmentOffset;
- setPage(curpage);
if (tf->Widths[(uint)*text]) {
cdata = tf->data + tf->Offsets[(uint)*text];
@@ -120,7 +119,6 @@ void text(struct TextFont *tf, uint16 x, uint16 y, uint16 color, const char *tex
for (counterb = 0; counterb < 8; counterb++) {
if (templeft <= 0) {
curpage++;
- setPage(curpage);
VGATemp = (byte *)(VGATop - templeft);
/* Set up VGATempLine for next line */
VGATempLine -= VGABytesPerPage;
@@ -148,7 +146,6 @@ void text(struct TextFont *tf, uint16 x, uint16 y, uint16 color, const char *tex
if (LeftInSegment <= 0) {
curpage++;
- setPage(curpage);
VGATempLine -= VGABytesPerPage;
LeftInSegment += VGABytesPerPage;
}