aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-06-06 14:13:18 +0200
committerMax Horn2011-06-06 14:13:18 +0200
commit338a859591c676eab46b1fc3523bc85bce8c15e2 (patch)
treed62e1248de9fec70263228c90de9a02e35153998
parent4af3045188b8bbd4fecd663233fa412cef179193 (diff)
downloadscummvm-rg350-338a859591c676eab46b1fc3523bc85bce8c15e2.tar.gz
scummvm-rg350-338a859591c676eab46b1fc3523bc85bce8c15e2.tar.bz2
scummvm-rg350-338a859591c676eab46b1fc3523bc85bce8c15e2.zip
NULL: cleanup
-rw-r--r--backends/platform/null/null.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/null/null.cpp b/backends/platform/null/null.cpp
index b9e901bb5a..7a0bb109f1 100644
--- a/backends/platform/null/null.cpp
+++ b/backends/platform/null/null.cpp
@@ -73,12 +73,12 @@ OSystem_NULL::~OSystem_NULL() {
}
void OSystem_NULL::initBackend() {
- _mutexManager = (MutexManager *)new NullMutexManager();
+ _mutexManager = new NullMutexManager();
_timerManager = new DefaultTimerManager();
_eventManager = new DefaultEventManager(this);
_savefileManager = new DefaultSaveFileManager();
- _graphicsManager = (GraphicsManager *)new NullGraphicsManager();
- _audiocdManager = (AudioCDManager *)new DefaultAudioCDManager();
+ _graphicsManager = new NullGraphicsManager();
+ _audiocdManager = new DefaultAudioCDManager();
_mixer = new Audio::MixerImpl(this, 22050);
((Audio::MixerImpl *)_mixer)->setReady(false);