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

@ -3,12 +3,12 @@
#include "vfsLocalFile.h"
#include "vfsLocalDir.h"
std::shared_ptr<vfsFileBase> vfsDeviceLocalFile::GetNewFileStream()
vfsFileBase* vfsDeviceLocalFile::GetNewFileStream()
{
return std::make_shared<vfsLocalFile>(this);
return new vfsLocalFile(this);
}
std::shared_ptr<vfsDirBase> vfsDeviceLocalFile::GetNewDirStream()
vfsDirBase* vfsDeviceLocalFile::GetNewDirStream()
{
return std::make_shared<vfsLocalDir>(this);
return new vfsLocalDir(this);
}