Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

AbstractFSNode * OSystem_Dreamcast::makeFileNodePath ( const Common::String path ) const [virtual]

Construct a node based on a path; the path is in the same format as it would be for calls to fopen().

Furthermore getNodeForPath(oldNode.path()) should create a new node identical to oldNode. Hence, we can use the "path" value for persistent storage e.g. in the config file.

Parameters:
pathThe path string to create a FSNode for.

Implements FilesystemFactory.

Definition at line 165 of file dc-fs.cpp.

                                                                                  {
      AbstractFSNode *node = RoninCDFileNode::makeFileNodePath(path);
      return (node? node : new RoninCDNonexistingNode(path));
}

Generated by  Doxygen 1.6.0   Back to index