Fixed cellFsOpen & cellFsOpendir

This commit is contained in:
DH 2014-02-16 17:37:32 +02:00
parent 321d323beb
commit bd8ff4ca11
12 changed files with 56 additions and 42 deletions

View file

@ -18,7 +18,7 @@ bool vfsFile::Open(const wxString& path, vfsOpenMode mode)
{
Close();
m_stream = Emu.GetVFS().OpenFile(path, mode);
m_stream.reset(Emu.GetVFS().OpenFile(path, mode));
return m_stream && m_stream->IsOpened();
}