ops
svn-id: r11316
This commit is contained in:
parent
d5eddef057
commit
b19119e89f
2 changed files with 2 additions and 2 deletions
|
@ -865,7 +865,7 @@ void ScummEngine::restoreBG(Common::Rect rect, byte backColor) {
|
||||||
byte *mask;
|
byte *mask;
|
||||||
// Note: At first sight it may look as if this could
|
// Note: At first sight it may look as if this could
|
||||||
// be optimized to (rect.right - rect.left) / 8 and
|
// 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.
|
// we are dealing with integer math here.
|
||||||
int mask_width = (rect.right / 8) - (rect.left / 8);
|
int mask_width = (rect.right / 8) - (rect.left / 8);
|
||||||
|
|
||||||
|
|
|
@ -207,7 +207,7 @@ void ScummEngine::CHARSET_1() {
|
||||||
if (_charset->_center) {
|
if (_charset->_center) {
|
||||||
if (t > _charset->_nextLeft)
|
if (t > _charset->_nextLeft)
|
||||||
t = _charset->_nextLeft;
|
t = _charset->_nextLeft;
|
||||||
t /= 2;
|
t *= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer = _charsetBuffer + _charsetBufPos;
|
buffer = _charsetBuffer + _charsetBufPos;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue