diff options
author | Max Horn | 2003-12-12 15:05:33 +0000 |
---|---|---|
committer | Max Horn | 2003-12-12 15:05:33 +0000 |
commit | 0ee89a32774585a36c6e6d739c7aee8ffcbd1de3 (patch) | |
tree | 57f6401e64de1b297343b726ff45dd9a9bbeaf22 /sound | |
parent | 9008abc7ea34e21d5be2ef9c8a3132d18b8f9374 (diff) | |
download | scummvm-rg350-0ee89a32774585a36c6e6d739c7aee8ffcbd1de3.tar.gz scummvm-rg350-0ee89a32774585a36c6e6d739c7aee8ffcbd1de3.tar.bz2 scummvm-rg350-0ee89a32774585a36c6e6d739c7aee8ffcbd1de3.zip |
init some more member vars
svn-id: r11597
Diffstat (limited to 'sound')
-rw-r--r-- | sound/audiocd.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/audiocd.cpp b/sound/audiocd.cpp index d714efd8e9..ca4216b6c6 100644 --- a/sound/audiocd.cpp +++ b/sound/audiocd.cpp @@ -30,9 +30,10 @@ AudioCDManager::AudioCDManager() { - _current_cache = 0; - _cd.playing = false; + memset(&_cd, 0, sizeof(_cd)); + memset(_cached_tracks, 0, sizeof(_cached_tracks)); memset(_track_info, 0, sizeof(_track_info)); + _current_cache = 0; } void AudioCDManager::play(int track, int numLoops, int startFrame, int duration) { |