aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/symbian
diff options
context:
space:
mode:
authorLars Persson2008-09-07 16:43:03 +0000
committerLars Persson2008-09-07 16:43:03 +0000
commit864c2244f0b5b578eaf8b52d2b63e9dbbbe458b8 (patch)
tree83225b52a5e87c134fd14a4de69d47d0b0a5d9a2 /backends/fs/symbian
parentf2ef3015f94aed18c6849849f0a630c86d6087e0 (diff)
downloadscummvm-rg350-864c2244f0b5b578eaf8b52d2b63e9dbbbe458b8.tar.gz
scummvm-rg350-864c2244f0b5b578eaf8b52d2b63e9dbbbe458b8.tar.bz2
scummvm-rg350-864c2244f0b5b578eaf8b52d2b63e9dbbbe458b8.zip
Set default save path via save manager.
Fix bug in symbian-fs GetChild function. svn-id: r34417
Diffstat (limited to 'backends/fs/symbian')
-rw-r--r--backends/fs/symbian/symbian-fs.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp
index a6f359a4ae..fc23bd40f7 100644
--- a/backends/fs/symbian/symbian-fs.cpp
+++ b/backends/fs/symbian/symbian-fs.cpp
@@ -138,15 +138,7 @@ AbstractFilesystemNode *SymbianFilesystemNode::getChild(const Common::String &n)
if (_path.lastChar() != '\\')
newPath += '\\';
- newPath += n;
-
- TPtrC8 ptr((const unsigned char*) newPath.c_str(), newPath.size());
- TFileName fname;
- fname.Copy(ptr);
- TBool isFolder = EFalse;
- BaflUtils::IsFolder(static_cast<OSystem_SDL_Symbian*>(g_system)->FsSession(), fname, isFolder);
- if (!isFolder)
- return 0;
+ newPath += n;
return new SymbianFilesystemNode(newPath);
}