diff options
Diffstat (limited to 'backends/platform/ds/arm9/source/osystem_ds.cpp')
-rw-r--r-- | backends/platform/ds/arm9/source/osystem_ds.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp index 12d3b0ad01..b018c7d378 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.cpp +++ b/backends/platform/ds/arm9/source/osystem_ds.cpp @@ -44,6 +44,8 @@ OSystem_DS::OSystem_DS() lastPenFrame = 0; queuePos = 0; _instance = this; + _mixer = NULL; + _timer = NULL; } OSystem_DS::~OSystem_DS() { @@ -53,6 +55,8 @@ void OSystem_DS::initBackend() { ConfMan.setInt("autosave_period", 0); ConfMan.setBool("FM_low_quality", true); + _mixer = new DSAudioMixer; + _timer = new DSTimerManager; OSystem::initBackend(); } |