aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorEugene Sandulenko2006-05-09 14:16:43 +0000
committerEugene Sandulenko2006-05-09 14:16:43 +0000
commitd2546e397934da3e89fdd994e0c620dd0bcfbcd4 (patch)
tree8e7371097f7421496d6ea24ceaff6feeab7185d1 /sound
parent4c6712246368148c91861fd30677a461e57e698b (diff)
downloadscummvm-rg350-d2546e397934da3e89fdd994e0c620dd0bcfbcd4.tar.gz
scummvm-rg350-d2546e397934da3e89fdd994e0c620dd0bcfbcd4.tar.bz2
scummvm-rg350-d2546e397934da3e89fdd994e0c620dd0bcfbcd4.zip
- Updated MSVC8 project files
- Renamed base/options.cpp to base/commandLine.cpp because of conflict with gui/options.cpp which sit in same directory in MSVC builds - Moved AudioCDManager singleton declaration outside of Audio namespace - Fixed numerous MSVC warning of potentially uninitialized variables and int <-> bool conversions. svn-id: r22397
Diffstat (limited to 'sound')
-rw-r--r--sound/audiocd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/audiocd.cpp b/sound/audiocd.cpp
index 1487f4491a..15b16b5e45 100644
--- a/sound/audiocd.cpp
+++ b/sound/audiocd.cpp
@@ -31,6 +31,8 @@
#include "common/util.h"
#include "common/system.h"
+DECLARE_SINGLETON(Audio::AudioCDManager);
+
namespace Audio {
struct TrackFormat {
@@ -61,8 +63,6 @@ static const TrackFormat TRACK_FORMATS[] = {
};
-DECLARE_SINGLETON(AudioCDManager);
-
AudioCDManager::AudioCDManager() {
memset(&_cd, 0, sizeof(_cd));
memset(_cachedTracks, 0, sizeof(_cachedTracks));