diff options
author | Filippos Karapetis | 2009-01-06 23:33:01 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-01-06 23:33:01 +0000 |
commit | cfec23cf0dce6394636e094f9459967a0c00ce63 (patch) | |
tree | 37d970cece0dc944ed59929e2d9734ce1b9e6dc2 | |
parent | e6aaa5324ac4f34a2c155a8380e02b5deba7aaaa (diff) | |
download | scummvm-rg350-cfec23cf0dce6394636e094f9459967a0c00ce63.tar.gz scummvm-rg350-cfec23cf0dce6394636e094f9459967a0c00ce63.tar.bz2 scummvm-rg350-cfec23cf0dce6394636e094f9459967a0c00ce63.zip |
Use skip instead of seek
svn-id: r35763
-rw-r--r-- | engines/saga/sndres.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/sndres.cpp b/engines/saga/sndres.cpp index 26d9601065..5a403e17ea 100644 --- a/engines/saga/sndres.cpp +++ b/engines/saga/sndres.cpp @@ -302,7 +302,7 @@ bool SndRes::load(ResourceContext *context, uint32 resourceId, SoundBuffer &buff if (!onlyHeader) { buffer.buffer = (byte *) malloc(buffer.size); if (soundOffset > 0) - readS.seek(soundOffset, SEEK_CUR); + readS.skip(soundOffset); readS.read(buffer.buffer, buffer.size); } result = true; |