Ticket #1819: mi1-fix1.diff

File mi1-fix1.diff, 1.1 KB (added by eriktorbjorn, 19 years ago)

One possible fix against a November 8 snapshot

  • scumm/charset.cpp

    diff -ur ScummVM-cvs20041108/scumm/charset.cpp ScummVM-cvs20041108+hack/scumm/charset.cpp
    old new  
    12111211                _hasMask = true;
    12121212                _textScreenID = vs->number;
    12131213        }
    1214         if (_ignoreCharsetMask || !vs->hasTwoBuffers) {
     1214        if (_ignoreCharsetMask || !vs->hasTwoBuffers || _vm->_currentRoom == 0) {
    12151215                dst = vs->getPixels(_left, drawTop);
    12161216                drawBits1(*vs, dst, charPtr, drawTop, origWidth, origHeight);
    12171217        } else {
     
    13511351       
    13521352        Graphics::Surface dstSurface;
    13531353        Graphics::Surface backSurface;
    1354         if (_ignoreCharsetMask || !vs->hasTwoBuffers) {
     1354        if (_ignoreCharsetMask || !vs->hasTwoBuffers || _vm->_currentRoom == 0) {
    13551355                dstSurface = *vs;
    13561356                dstPtr = vs->getPixels(_left, drawTop);
    13571357        } else {
     
    16251625        }
    16261626       
    16271627        int drawTop = _top;
    1628         if (_ignoreCharsetMask) {
     1628        if (_ignoreCharsetMask || _vm->_currentRoom == 0) {
    16291629                VirtScreen *vs = &_vm->virtscr[kMainVirtScreen];
    16301630                s = *vs;
    16311631                s.pixels = vs->getPixels(0, 0);