aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/fileio.h
diff options
context:
space:
mode:
authorMax Horn2009-11-23 23:32:34 +0000
committerMax Horn2009-11-23 23:32:34 +0000
commite68a05ea60ecf561a4ebe440864941c9588fbede (patch)
tree49158f3419b74bab11bbfd3858516c4c228efa23 /backends/platform/ps2/fileio.h
parentdd0b4ed5dd1e2395dc4f1a3376814101b7ef473e (diff)
downloadscummvm-rg350-e68a05ea60ecf561a4ebe440864941c9588fbede.tar.gz
scummvm-rg350-e68a05ea60ecf561a4ebe440864941c9588fbede.tar.bz2
scummvm-rg350-e68a05ea60ecf561a4ebe440864941c9588fbede.zip
PS2: Further tweak PS2FileStream; fix potential leak in ps2_fopen
svn-id: r46115
Diffstat (limited to 'backends/platform/ps2/fileio.h')
-rw-r--r--backends/platform/ps2/fileio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ps2/fileio.h b/backends/platform/ps2/fileio.h
index bb22b064a8..4dee94c0a5 100644
--- a/backends/platform/ps2/fileio.h
+++ b/backends/platform/ps2/fileio.h
@@ -90,7 +90,7 @@ private:
class PS2FileStream : public Common::SeekableReadStream, public Common::WriteStream, public Common::NonCopyable {
protected:
/** File handle to the actual file. */
- FILE *_handle;
+ Ps2File *_handle;
public:
/**
@@ -99,7 +99,7 @@ public:
*/
static PS2FileStream *makeFromPath(const Common::String &path, bool writeMode);
- PS2FileStream(FILE *handle);
+ PS2FileStream(Ps2File *handle);
virtual ~PS2FileStream();
virtual bool err() const;