aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/win32/win32.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2016-05-22 18:52:33 +0300
committerFilippos Karapetis2016-05-22 18:52:33 +0300
commit8b3a08047ca69830128ef703527ea281f49ec53b (patch)
treeabe34a9dc47c7f211c224e1dd533ad7d3a28df98 /backends/platform/sdl/win32/win32.cpp
parent9375c7b2255e9bd322b9e5e8f99c64a6d8edab1a (diff)
downloadscummvm-rg350-8b3a08047ca69830128ef703527ea281f49ec53b.tar.gz
scummvm-rg350-8b3a08047ca69830128ef703527ea281f49ec53b.tar.bz2
scummvm-rg350-8b3a08047ca69830128ef703527ea281f49ec53b.zip
UPDATES: Add support for WinSparkle
Diffstat (limited to 'backends/platform/sdl/win32/win32.cpp')
-rw-r--r--backends/platform/sdl/win32/win32.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp
index fbab7eb782..fcc0849624 100644
--- a/backends/platform/sdl/win32/win32.cpp
+++ b/backends/platform/sdl/win32/win32.cpp
@@ -41,6 +41,7 @@
#include "backends/saves/windows/windows-saves.h"
#include "backends/fs/windows/windows-fs-factory.h"
#include "backends/taskbar/win32/win32-taskbar.h"
+#include "backends/updates/win32/win32-updates.h"
#include "common/memstream.h"
@@ -82,6 +83,11 @@ void OSystem_Win32::initBackend() {
if (_savefileManager == 0)
_savefileManager = new WindowsSaveFileManager();
+#if defined(USE_SPARKLE)
+ // Initialize updates manager
+ _updateManager = new Win32UpdateManager();
+#endif
+
// Invoke parent implementation of this method
OSystem_SDL::initBackend();
}