aboutsummaryrefslogtreecommitdiff
path: root/backends/saves/default/default-saves.cpp
diff options
context:
space:
mode:
authorTony Puccinelli2010-06-05 01:05:19 +0000
committerTony Puccinelli2010-06-05 01:05:19 +0000
commit95e56f2052956e80a6319b2916a8f899340effaf (patch)
treef9525eb32e05f1a4746233fe3daf254d07cb83ab /backends/saves/default/default-saves.cpp
parent28e28a2fea9f6adf4967463024c609e6a01ac5b0 (diff)
parent3a5fe4ca002a85f7c4549c8d36203553553c53f9 (diff)
downloadscummvm-rg350-95e56f2052956e80a6319b2916a8f899340effaf.tar.gz
scummvm-rg350-95e56f2052956e80a6319b2916a8f899340effaf.tar.bz2
scummvm-rg350-95e56f2052956e80a6319b2916a8f899340effaf.zip
merged trunk into branch and corrected __PS2__ to __PLAYSTATION2__ in a couple files
svn-id: r49435
Diffstat (limited to 'backends/saves/default/default-saves.cpp')
-rw-r--r--backends/saves/default/default-saves.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp
index 1ab898d2d6..6a91f2cbe1 100644
--- a/backends/saves/default/default-saves.cpp
+++ b/backends/saves/default/default-saves.cpp
@@ -131,11 +131,11 @@ bool DefaultSaveFileManager::removeSavefile(const Common::String &filename) {
// There is a nicely portable workaround, too: Make this method overloadable.
if (remove(file.getPath().c_str()) != 0) {
#ifndef _WIN32_WCE
- if (errno == EACCES)
+ /* if (errno == EACCES)
setError(Common::kWritePermissionDenied, "Search or write permission denied: "+file.getName());
if (errno == ENOENT)
- setError(Common::kPathDoesNotExist, "removeSavefile: '"+file.getName()+"' does not exist or path is invalid");
+ setError(Common::kPathDoesNotExist, "removeSavefile: '"+file.getName()+"' does not exist or path is invalid"); */
#endif
return false;
} else {