Ticket #8054: mididrv.diff

File mididrv.diff, 917 bytes (added by SF/jamieson630, 20 years ago)

Patch against mididrv.cpp 1.4 revision

  • scummvm/sound/mididrv.cpp

    RCS file: /cvsroot/scummvm/scummvm/sound/mididrv.cpp,v
    retrieving revision 1.4
    diff -u -r1.4 mididrv.cpp
     
    7777        uint32 property(int prop, uint32 param);
    7878
    7979        static void CALLBACK midi_callback(HMIDIOUT hmo, UINT wMsg,
    80                                                                                                                                                 DWORD dwInstance, DWORD dwParam1, DWORD dwParam2);
     80                                          DWORD dwInstance, DWORD dwParam1, DWORD dwParam2);
    8181};
    8282
    8383void MidiDriver_WIN::set_stream_callback(void *param, StreamCallback *sc)
     
    263263        char buf[200];
    264264        if (result != MMSYSERR_NOERROR) {
    265265                midiOutGetErrorText(result, buf, 200);
    266                 error("MM System Error '%s'", buf);
     266                warning("MM System Error '%s'", buf);
    267267        }
    268268}
    269269