diff options
author | Max Horn | 2002-10-21 12:34:54 +0000 |
---|---|---|
committer | Max Horn | 2002-10-21 12:34:54 +0000 |
commit | 31c773923ee34e05c06a7c00b784b924eff526fb (patch) | |
tree | b2d1e5e7aa5fff558b314162651f3c365ba61b2b /scumm/sound.cpp | |
parent | 46a3039f701dd40e2347d4c5090e0a3c74489a37 (diff) | |
download | scummvm-rg350-31c773923ee34e05c06a7c00b784b924eff526fb.tar.gz scummvm-rg350-31c773923ee34e05c06a7c00b784b924eff526fb.tar.bz2 scummvm-rg350-31c773923ee34e05c06a7c00b784b924eff526fb.zip |
use File::size() method were it makes sense; one small change to simon.cpp based on comment on bug #595813
svn-id: r5210
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r-- | scumm/sound.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index fc5fcca168..2d8a065d72 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -1300,8 +1300,7 @@ int Sound::getCachedTrack(int track) { mad_frame_finish(&frame); mad_stream_finish(&stream); // Get file size - file->seek(0, SEEK_END); - _mp3_size[current_index] = file->pos(); + _mp3_size[current_index] = file->size(); _mp3_tracks[current_index] = file; return current_index; |