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

AbstractFilesystemNode * AbstractFilesystemNode::getCurrentDirectory (  )  [static, protected]

Returns a node representing the "current directory". If your system does not support this concept, you can either try to emulate it or simply return some "sensible" default directory node, e.g. the same value as getRoot() returns.

Definition at line 852 of file ds-fs.cpp.

                                                                    {
//    consolePrintf("New node");
        
      if (DS::isGBAMPAvailable()) {
            return new DS::GBAMPFileSystemNode();
      } else {
            return new DS::DSFileSystemNode();
      }
}


Generated by  Doxygen 1.6.0   Back to index