sync with scummvm

This commit is contained in:
Pawe Koodziejski 2012-01-06 22:56:21 +01:00
parent 916eda9a72
commit a5479cfe83
227 changed files with 24566 additions and 21664 deletions

View file

@ -28,6 +28,7 @@
#include "common/savefile.h"
#include "common/str.h"
#include "common/taskbar.h"
#include "common/updates.h"
#include "common/textconsole.h"
#include "backends/audiocd/default/default-audiocd.h"
@ -43,6 +44,9 @@ OSystem::OSystem() {
_savefileManager = 0;
#if defined(USE_TASKBAR)
_taskbarManager = 0;
#endif
#if defined(USE_UPDATES)
_updateManager = 0;
#endif
_fsFactory = 0;
}
@ -62,6 +66,11 @@ OSystem::~OSystem() {
_taskbarManager = 0;
#endif
#if defined(USE_UPDATES)
delete _updateManager;
_updateManager = 0;
#endif
delete _savefileManager;
_savefileManager = 0;