aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-29 14:46:56 +0200
committerEugene Sandulenko2016-05-29 14:46:56 +0200
commit4dba5f56047c8424b74c9df312aafedd154dcd05 (patch)
tree0333f4e0db4a826ff3021bdcf3fd51a517895e0a /backends/platform
parent980d5f3027305066a5751d4111ac18a615f37260 (diff)
parent8d78615ac8ef532bdcaf144893a1cb7935f22d35 (diff)
downloadscummvm-rg350-4dba5f56047c8424b74c9df312aafedd154dcd05.tar.gz
scummvm-rg350-4dba5f56047c8424b74c9df312aafedd154dcd05.tar.bz2
scummvm-rg350-4dba5f56047c8424b74c9df312aafedd154dcd05.zip
Merge pull request #763 from bluegr/winsparkle
UPDATES: Add support for WinSparkle
Diffstat (limited to 'backends/platform')
-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();
}