From b317b2fedaced7ba2556886ff2ae51c63643f7d5 Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Sat, 29 Mar 2014 20:52:39 +1300 Subject: [PATCH] Commenting out all of this, should fix the pathing glitches on *nix, without breaking windows functionality. --- rpcs3/Emu/FS/vfsLocalFile.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/rpcs3/Emu/FS/vfsLocalFile.cpp b/rpcs3/Emu/FS/vfsLocalFile.cpp index 8dedb87532..104a11942b 100644 --- a/rpcs3/Emu/FS/vfsLocalFile.cpp +++ b/rpcs3/Emu/FS/vfsLocalFile.cpp @@ -35,19 +35,19 @@ bool vfsLocalFile::Open(const wxString& path, vfsOpenMode mode) { Close(); - if(m_device) - { - if(!m_file.Access(vfsDevice::GetWinPath(m_device->GetLocalPath(), path), vfs2wx_mode(mode))) return false; + // if(m_device) + // { + // 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)) && - vfsFileBase::Open(vfsDevice::GetPs3Path(m_device->GetPs3Path(), path), mode); - } - else - { + // return m_file.Open(vfsDevice::GetWinPath(m_device->GetLocalPath(), path), vfs2wx_mode(mode)) && + // vfsFileBase::Open(vfsDevice::GetPs3Path(m_device->GetPs3Path(), path), mode); + // } + // else + // { if(!m_file.Access(path, vfs2wx_mode(mode))) return false; return m_file.Open(path, vfs2wx_mode(mode)) && vfsFileBase::Open(path, mode); - } + // } } bool vfsLocalFile::Create(const wxString& path)