Ticket #8445: descumm_fix.diff

File descumm_fix.diff, 1.1 KB (added by SF/albeu, 19 years ago)

Patch againts anonymous cvs 2005-07-08

  • descumm-tool.cpp

    RCS file: /cvsroot/scummvm/tools/descumm-tool.cpp,v
    retrieving revision 1.12
    diff -u -r1.12 descumm-tool.cpp
     
    277277                        mem += 4;
    278278                }
    279279        } else if (scriptVersion >= 5) {
    280                 if (size_of_code < (scriptVersion == 5 ? 8 : 10)) {
     280                if (size_of_code < (scriptVersion == 5 ? 8 : 9)) {
    281281                        printf("File too small to be a script\n");
    282282                        return 1;
    283283                }
  • descumm6.cpp

    RCS file: /cvsroot/scummvm/tools/descumm6.cpp,v
    retrieving revision 1.188
    diff -u -r1.188 descumm6.cpp
     
    32703270                ext(output, "rlp|isAnyOf");
    32713271                break;
    32723272        case 0xAE:
    3273                 ext(output, "x" "systemOps\0" "\x9E|pauseGame," "\xA0|shutDown");
     3273                ext(output, "x" "systemOps\0"
     3274                                "\x9E|restartGame,"
     3275                                "\x9F|pauseGame,"
     3276                                "\xA0|shutDown");
    32743277                break;
    32753278        case 0xAF:
    32763279                ext(output, "rp|isActorInBox");