timidity/timidity.c
changeset 799 82dcc7ce6d20
parent 782 e7d3a8f73e88
child 803 d1deb5a4c3f5
     1.1 --- a/timidity/timidity.c	Sat Oct 21 00:53:21 2017 -0700
     1.2 +++ b/timidity/timidity.c	Sat Oct 21 09:04:55 2017 +0300
     1.3 @@ -452,7 +452,7 @@
     1.4    return 0;
     1.5  }
     1.6  
     1.7 -MidiSong *Timidity_LoadDLSSong(SDL_RWops *rw, DLS_Patches *patches, SDL_AudioSpec *audio)
     1.8 +MidiSong *Timidity_LoadSong(SDL_RWops *rw, SDL_AudioSpec *audio)
     1.9  {
    1.10    MidiSong *song;
    1.11    int i;
    1.12 @@ -463,7 +463,6 @@
    1.13    /* Allocate memory for the song */
    1.14    song = (MidiSong *)safe_malloc(sizeof(*song));
    1.15    memset(song, 0, sizeof(*song));
    1.16 -  song->patches = patches;
    1.17  
    1.18    for (i = 0; i < MAXBANK; i++)
    1.19    {
    1.20 @@ -554,11 +553,6 @@
    1.21    return(song);
    1.22  }
    1.23  
    1.24 -MidiSong *Timidity_LoadSong(SDL_RWops *rw, SDL_AudioSpec *audio)
    1.25 -{
    1.26 -  return Timidity_LoadDLSSong(rw, NULL, audio);
    1.27 -}
    1.28 -
    1.29  void Timidity_FreeSong(MidiSong *song)
    1.30  {
    1.31    int i;