Set default save path via save manager.
Fix bug in symbian-fs GetChild function. svn-id: r34417
This commit is contained in:
parent
f2ef3015f9
commit
864c2244f0
2 changed files with 3 additions and 10 deletions
|
@ -29,6 +29,7 @@
|
|||
#include "backends/fs/symbian/symbian-fs-factory.h"
|
||||
#include "backends/platform/symbian/src/SymbianOS.h"
|
||||
#include "backends/platform/symbian/src/SymbianActions.h"
|
||||
#include "backends/saves/default/default-saves.h"
|
||||
#include "common/config-manager.h"
|
||||
#include "common/events.h"
|
||||
#include "common/file.h"
|
||||
|
@ -150,7 +151,7 @@ void OSystem_SDL_Symbian::initBackend() {
|
|||
Common::String savePath;
|
||||
savePath = Symbian::GetExecutablePath();
|
||||
savePath += DEFAULT_SAVE_PATH "\\";
|
||||
ConfMan.registerDefault("savepath", savePath);
|
||||
_savefile = new DefaultSaveFileManager(savePath);
|
||||
|
||||
// If savepath has not already been set then set it
|
||||
if (!ConfMan.hasKey("savepath")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue