aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-25 00:30:48 +0000
committerMax Horn2003-05-25 00:30:48 +0000
commit54835862fbeccbd17cfb768e2a53d9b13efffa8f (patch)
treecf13e69faa7c211ba6b67cfca65f94a48c7ad0d7 /scumm/charset.cpp
parent95b7e01548640629736294d72c3ccc90be1c54e0 (diff)
downloadscummvm-rg350-54835862fbeccbd17cfb768e2a53d9b13efffa8f.tar.gz
scummvm-rg350-54835862fbeccbd17cfb768e2a53d9b13efffa8f.tar.bz2
scummvm-rg350-54835862fbeccbd17cfb768e2a53d9b13efffa8f.zip
cleanup
svn-id: r7920
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r--scumm/charset.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index 380a00af61..f7317d064e 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -574,7 +574,12 @@ void CharsetRendererClassic::printChar(int chr) {
drawBits(vs, dst, mask, drawTop, width, height);
- _vm->blit(back, dst, width, height);
+ int h = height;
+ do {
+ memcpy(back, dst, width);
+ back += _vm->_screenWidth;
+ dst += _vm->_screenWidth;
+ } while (--h);
} else {
drawBits(vs, dst, mask, drawTop, width, height);
}