mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
SCI: Fixed regression in new_fast_forward_iterator
svn-id: r39215
This commit is contained in:
parent
efa5493b2d
commit
7bfab75a08
@ -1227,7 +1227,6 @@ public:
|
||||
flags = 0;
|
||||
}
|
||||
|
||||
SongIterator *makeClone() { return 0; }
|
||||
int nextCommand(byte *buf, int *result);
|
||||
Audio::AudioStream *getAudioStream() { return NULL; }
|
||||
SongIterator *handleMessage(SongIteratorMessage msg);
|
||||
@ -1342,7 +1341,7 @@ SongIterator *new_fast_forward_iterator(SongIterator *capsit, int delta) {
|
||||
if (capsit == NULL)
|
||||
return NULL;
|
||||
|
||||
FastForwardSongIterator *it = new FastForwardSongIterator();
|
||||
FastForwardSongIterator *it = new FastForwardSongIterator(capsit, delta);
|
||||
return it;
|
||||
}
|
||||
|
||||
|
@ -175,7 +175,6 @@ protected:
|
||||
int _delta; /**< Remaining time */
|
||||
|
||||
public:
|
||||
FastForwardSongIterator() {} // FIXME: Temp hack
|
||||
FastForwardSongIterator(SongIterator *capsit, int delta);
|
||||
|
||||
int nextCommand(byte *buf, int *result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user