mirror of https://github.com/RPCS3/rpcs3.git
Commenting out all of this, should fix the pathing glitches on *nix, without breaking windows functionality.
This commit is contained in:
parent
6141c33630
commit
b317b2feda
|
@ -35,19 +35,19 @@ bool vfsLocalFile::Open(const wxString& path, vfsOpenMode mode)
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
|
|
||||||
if(m_device)
|
// if(m_device)
|
||||||
{
|
// {
|
||||||
if(!m_file.Access(vfsDevice::GetWinPath(m_device->GetLocalPath(), path), vfs2wx_mode(mode))) return false;
|
// if(!m_file.Access(vfsDevice::GetWinPath(m_device->GetLocalPath(), path), vfs2wx_mode(mode))) return false;
|
||||||
|
|
||||||
return m_file.Open(vfsDevice::GetWinPath(m_device->GetLocalPath(), path), vfs2wx_mode(mode)) &&
|
// return m_file.Open(vfsDevice::GetWinPath(m_device->GetLocalPath(), path), vfs2wx_mode(mode)) &&
|
||||||
vfsFileBase::Open(vfsDevice::GetPs3Path(m_device->GetPs3Path(), path), mode);
|
// vfsFileBase::Open(vfsDevice::GetPs3Path(m_device->GetPs3Path(), path), mode);
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
if(!m_file.Access(path, vfs2wx_mode(mode))) return false;
|
if(!m_file.Access(path, vfs2wx_mode(mode))) return false;
|
||||||
|
|
||||||
return m_file.Open(path, vfs2wx_mode(mode)) && vfsFileBase::Open(path, mode);
|
return m_file.Open(path, vfs2wx_mode(mode)) && vfsFileBase::Open(path, mode);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
bool vfsLocalFile::Create(const wxString& path)
|
bool vfsLocalFile::Create(const wxString& path)
|
||||||
|
|
Loading…
Reference in New Issue