mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 14:42:26 +00:00
ops
svn-id: r11316
This commit is contained in:
parent
d5eddef057
commit
b19119e89f
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user