diff options
author | Max Lingua | 2009-07-12 05:38:08 +0000 |
---|---|---|
committer | Max Lingua | 2009-07-12 05:38:08 +0000 |
commit | 55cda3aa258e2c214e0442ad726d964bb787cd0e (patch) | |
tree | 4c392a2f5073d6c6c1a4218fadfac7bae1ba879c /backends/platform/ps2/savefilemgr.cpp | |
parent | 17b1c6d0aed188b400c87b2959ef7339d874b913 (diff) | |
download | scummvm-rg350-55cda3aa258e2c214e0442ad726d964bb787cd0e.tar.gz scummvm-rg350-55cda3aa258e2c214e0442ad726d964bb787cd0e.tar.bz2 scummvm-rg350-55cda3aa258e2c214e0442ad726d964bb787cd0e.zip |
ScummVM/PS2 bugs fixed by this commit:
- general file write corruption (eg. ScummVM.ini, etc.)
- COMI specific save crash / corruption
(added option in engines/scumm/saveload.cpp to disable
thumbnails on PS2, as emergency fallback in case the
fix should prove to be insufficient)
- implemented _screenChange logic
(fixes grabOverlay & COMI popup menu)
- fixed higher pitch (chipmunk fx)
- made NET IRXs optional to allow it to work on fat PS2 without net+hd
- fixed cursor restore on RTL
- added "." as R2 to skip single lines of dialog
- added write cache
svn-id: r42404
Diffstat (limited to 'backends/platform/ps2/savefilemgr.cpp')
-rw-r--r-- | backends/platform/ps2/savefilemgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/ps2/savefilemgr.cpp b/backends/platform/ps2/savefilemgr.cpp index 1271a43d42..1613863530 100644 --- a/backends/platform/ps2/savefilemgr.cpp +++ b/backends/platform/ps2/savefilemgr.cpp @@ -239,10 +239,10 @@ Common::StringList Ps2SaveFileManager::listSavefiles(const Common::String &patte if (!savePath.exists() || !savePath.isDirectory()) return Common::StringList(); - printf("listSavefiles = %s\n", pattern); + printf("listSavefiles = %s\n", pattern.c_str()); if (_mc) { - strcpy(temp, pattern); + strcpy(temp, pattern.c_str()); // mcSplit(temp, game, ext); game = strdup(strtok(temp, ".")); @@ -255,7 +255,7 @@ Common::StringList Ps2SaveFileManager::listSavefiles(const Common::String &patte } else { _dir = Common::String(savePath.getPath()); - search = Common::String(pattern); + search = pattern; } Common::FSDirectory dir(_dir); |