Ticket #9213: patch.diff

File patch.diff, 2.5 KB (added by SF/logicdeluxe, 14 years ago)

Modifications made for MI talkie projects.

  • engines/scumm/detection_tables.h

    diff -urN scummvm/engines/scumm/detection_tables.h scummvm_patch/engines/scumm/detection_tables.h
    old new  
    239239        {"monkey", "EGA",      "ega", GID_MONKEY_EGA, 4, 0, MDT_PCSPK | MDT_PCJR | MDT_CMS | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, GF_16COLOR,     Common::kPlatformPC, GUIO_NOSPEECH},
    240240        {"monkey", "No AdLib", "ega", GID_MONKEY_EGA, 4, 0, MDT_PCSPK | MDT_PCJR,                        GF_16COLOR,     Common::kPlatformAtariST, GUIO_NOSPEECH | GUIO_NOMIDI},
    241241        {"monkey", "Demo",     "ega", GID_MONKEY_EGA, 4, 0, MDT_PCSPK | MDT_PCJR | MDT_ADLIB,            GF_16COLOR,     Common::kPlatformPC, GUIO_NOSPEECH | GUIO_NOMIDI},
     242        {"monkey", "Fan Patch",    0, GID_MONKEY,     5, 0, MDT_ADLIB | MDT_MIDI,             GF_AUDIOTRACKS, UNK, GUIO_NONE},
    242243        {"monkey", "CD",           0, GID_MONKEY,     5, 0, MDT_ADLIB,                        GF_AUDIOTRACKS, UNK, GUIO_NOSPEECH | GUIO_NOMIDI},
    243244        {"monkey", "FM-TOWNS",     0, GID_MONKEY,     5, 0, MDT_TOWNS,                        GF_AUDIOTRACKS, Common::kPlatformFMTowns, GUIO_NOSPEECH | GUIO_NOMIDI | GUIO_MIDITOWNS},
    244245        {"monkey", "SEGA",         0, GID_MONKEY,     5, 0, MDT_NONE,                         GF_AUDIOTRACKS, Common::kPlatformSegaCD, GUIO_NOSPEECH | GUIO_NOMIDI},
    245246
     247        {"monkey2", "Fan Patch", 0, GID_MONKEY2, 5, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NONE},
    246248        {"monkey2",  0, 0, GID_MONKEY2,  5, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NOSPEECH},
    247249
    248250        {"atlantis", "" , 0, GID_INDY4,    5, 0, MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32, 0, UNK, GUIO_NONE},
  • engines/scumm/script_v5.cpp

    diff -urN scummvm/engines/scumm/script_v5.cpp scummvm_patch/engines/scumm/script_v5.cpp
    old new  
    17751775                        if (_game.id == GID_INDY4) {
    17761776                                filename = _targetName + ".iq";
    17771777                        } else {
    1778                                 error("SO_SAVE_STRING: Unsupported filename %s", filename.c_str());
     1778        filename = _targetName + "_" + filename.c_str();
    17791779                        }
    17801780
    17811781                        Common::OutSaveFile *file = _saveFileMan->openForSaving(filename);
     
    18021802                        if (_game.id == GID_INDY4) {
    18031803                                filename = _targetName + ".iq";
    18041804                        } else {
    1805                                 error("SO_LOAD_STRING: Unsupported filename %s", filename.c_str());
     1805        filename = _targetName + "_" + filename.c_str();
    18061806                        }
    18071807
    18081808                        Common::InSaveFile *file = _saveFileMan->openForLoading(filename);