aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJoost Peters2008-03-19 11:07:27 +0000
committerJoost Peters2008-03-19 11:07:27 +0000
commit2c670730849126f431873ef32b22bca33bfcc8dd (patch)
tree0af210951eeeda1af1b5ac1b2a6bf7cea94abc80 /common
parent74e5ef5c56f22884c5e198cb6ab6dd2455f525f0 (diff)
downloadscummvm-rg350-2c670730849126f431873ef32b22bca33bfcc8dd.tar.gz
scummvm-rg350-2c670730849126f431873ef32b22bca33bfcc8dd.tar.bz2
scummvm-rg350-2c670730849126f431873ef32b22bca33bfcc8dd.zip
Implement OSystem_PSP::getFilesystemFactory() and OSystemPSP::getTimeAndDate()
svn-id: r31195
Diffstat (limited to 'common')
-rw-r--r--common/system.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/common/system.cpp b/common/system.cpp
index 6328f392b8..8c9ca46da6 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -146,12 +146,10 @@ void OSystem::getTimeAndDate(struct tm &t) const {
#include "backends/fs/palmos/palmos-fs-factory.h"
#elif defined(__PLAYSTATION2__)
#include "backends/fs/ps2/ps2-fs-factory.h"
-#elif defined(__PSP__)
- #include "backends/fs/psp/psp-fs-factory.h"
#endif
FilesystemFactory *OSystem::getFilesystemFactory() {
- #if defined(__amigaos4__) || defined(__DC__) || defined(__SYMBIAN32__) || defined(UNIX) || defined(WIN32)
+ #if defined(__amigaos4__) || defined(__DC__) || defined(__SYMBIAN32__) || defined(UNIX) || defined(WIN32) || defined(__PSP__)
// These ports already implement this function, so it should never be called.
return 0;
#elif defined(__DS__)
@@ -162,8 +160,6 @@ FilesystemFactory *OSystem::getFilesystemFactory() {
return &PalmOSFilesystemFactory::instance();
#elif defined(__PLAYSTATION2__)
return &Ps2FilesystemFactory::instance();
- #elif defined(__PSP__)
- return &PSPFilesystemFactory::instance();
#else
#error Unknown and unsupported backend in OSystem::getFilesystemFactory
#endif