From 8701e0a382b4b42d75cf38006234612c344808cf Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 23 Jan 2012 23:17:55 +1100 Subject: WINDOWS: Add default save paths for Windows NT4 onwards --- backends/platform/sdl/win32/win32.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'backends/platform') 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 // 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(); } -- cgit v1.2.3