Ticket #8151: v7-scalefix.diff

File v7-scalefix.diff, 607 bytes (added by eriktorbjorn, 20 years ago)

Patch against a January 6 CVS snapshot

  • scummvm/scumm/scummvm.cpp

    diff -ur ScummVM-cvs20030106/scummvm/scumm/scummvm.cpp ScummVM-cvs20030106+hack/scummvm/scumm/scummvm.cpp
    old new  
    825825        ptr = findResourceData(MKID('SCAL'), roomptr);
    826826        if (ptr) {
    827827                offs = ptr - roomptr;
    828                 if (_features & GF_AFTER_V7) {
     828                if (_features & GF_AFTER_V8) {
    829829                        for (i = 1; i < _maxScaleTable; i++, offs += 16) {
    830830                                int a = READ_LE_UINT32(roomptr + offs);
    831831                                int b = READ_LE_UINT32(roomptr + offs + 4);