mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-09 02:00:46 +00:00
24 lines
659 B
C++
24 lines
659 B
C++
#include "backends/fs/psp/PSPFilesystemFactory.h"
|
|
#include "backends/fs/psp/psp_fs.cpp"
|
|
|
|
PSPFilesystemFactory *PSPFilesystemFactory::_instance = 0;
|
|
|
|
PSPFilesystemFactory *PSPFilesystemFactory::instance(){
|
|
if(_instance == 0){
|
|
_instance = new PSPFilesystemFactory();
|
|
}
|
|
return _instance;
|
|
}
|
|
|
|
AbstractFilesystemNode *PSPFilesystemFactory::makeRootFileNode() const {
|
|
return new PSPFilesystemNode();
|
|
}
|
|
|
|
AbstractFilesystemNode *PSPFilesystemFactory::makeCurrentDirectoryFileNode() const {
|
|
return new PSPFilesystemNode();
|
|
}
|
|
|
|
AbstractFilesystemNode *PSPFilesystemFactory::makeFileNodePath(const String &path) const {
|
|
return new PSPFilesystemNode(path, true);
|
|
}
|