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

Common::SeekableReadStream * OSystem_Dreamcast::createConfigReadStream (  ) [private, virtual]

Open the default config file for reading, by returning a suitable ReadStream instance. It is the callers responsiblity to delete the stream after use.

Reimplemented from BaseBackend.

Definition at line 211 of file dcmain.cpp.

References Common::FSNode::createReadStream().

  Common::FSNode file("/scummvm.ini");
  Common::SeekableReadStream *s = file.createReadStream();
  return s? s : new Common::MemoryReadStream((const byte *)"", 0);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index