diff options
Diffstat (limited to 'backends/fs/ps2/ps2-fs.cpp')
-rw-r--r-- | backends/fs/ps2/ps2-fs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/fs/ps2/ps2-fs.cpp b/backends/fs/ps2/ps2-fs.cpp index 57bdc8620f..150e8f8a7a 100644 --- a/backends/fs/ps2/ps2-fs.cpp +++ b/backends/fs/ps2/ps2-fs.cpp @@ -111,8 +111,8 @@ public: virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const; virtual AbstractFSNode *getParent() const; - virtual Common::SeekableReadStream *openForReading(); - virtual Common::WriteStream *openForWriting(); + virtual Common::SeekableReadStream *createReadStream(); + virtual Common::WriteStream *createWriteStream(); int getDev() { return 0; }; }; @@ -503,11 +503,11 @@ char *Ps2FilesystemNode::getDeviceDescription() const { return "WTF ???"; } -Common::SeekableReadStream *Ps2FilesystemNode::openForReading() { +Common::SeekableReadStream *Ps2FilesystemNode::createReadStream() { Common::SeekableReadStream *ss = StdioStream::makeFromPath(getPath().c_str(), false); return ss; } -Common::WriteStream *Ps2FilesystemNode::openForWriting() { +Common::WriteStream *Ps2FilesystemNode::createWriteStream() { return StdioStream::makeFromPath(getPath().c_str(), true); } |