aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorTravis Howell2012-01-23 23:17:55 +1100
committerTravis Howell2012-01-23 23:18:21 +1100
commit8701e0a382b4b42d75cf38006234612c344808cf (patch)
tree39ac59476e21eada9e74dc840c3eb2ed55638884 /backends/platform
parent2294b8aa661128407e259d919e666d8d910c7ce6 (diff)
downloadscummvm-rg350-8701e0a382b4b42d75cf38006234612c344808cf.tar.gz
scummvm-rg350-8701e0a382b4b42d75cf38006234612c344808cf.tar.bz2
scummvm-rg350-8701e0a382b4b42d75cf38006234612c344808cf.zip
WINDOWS: Add default save paths for Windows NT4 onwards
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/win32/win32.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp
index 3e09aa2640..453d566c7b 100644
--- a/backends/platform/sdl/win32/win32.cpp
+++ b/backends/platform/sdl/win32/win32.cpp
@@ -38,6 +38,7 @@
#include <SDL_syswm.h> // For setting the icon
#include "backends/platform/sdl/win32/win32.h"
+#include "backends/saves/windows/windows-saves.h"
#include "backends/fs/windows/windows-fs-factory.h"
#include "backends/taskbar/win32/win32-taskbar.h"
@@ -74,6 +75,10 @@ void OSystem_Win32::initBackend() {
FreeConsole();
}
+ // Create the savefile manager
+ if (_savefileManager == 0)
+ _savefileManager = new WindowsSaveFileManager();
+
// Invoke parent implementation of this method
OSystem_SDL::initBackend();
}