svn-id: r11316
This commit is contained in:
Paweł Kołodziejski 2003-11-16 21:26:10 +00:00
parent d5eddef057
commit b19119e89f
2 changed files with 2 additions and 2 deletions

View File

@ -865,7 +865,7 @@ void ScummEngine::restoreBG(Common::Rect rect, byte backColor) {
byte *mask;
// Note: At first sight it may look as if this could
// be optimized to (rect.right - rect.left) / 8 and
// thus to width * 8, but that's not the case since
// thus to width / 8, but that's not the case since
// we are dealing with integer math here.
int mask_width = (rect.right / 8) - (rect.left / 8);

View File

@ -207,7 +207,7 @@ void ScummEngine::CHARSET_1() {
if (_charset->_center) {
if (t > _charset->_nextLeft)
t = _charset->_nextLeft;
t /= 2;
t *= 2;
}
buffer = _charsetBuffer + _charsetBufPos;