std::string vfsDevice::GetWinPath(const std::string& l, const std::string& r) { if(l.empty()) return GetWinPath(r, false); if(r.empty()) return GetWinPath(l); return GetWinPath(l + '/' + r, false); }
wxString vfsDevice::GetWinPath(const wxString& l, const wxString& r) { if(l.IsEmpty()) return GetWinPath(r, false); if(r.IsEmpty()) return GetWinPath(l); return GetWinPath(l + '\\' + r, false); }
vfsDevice::vfsDevice(const std::string& ps3_path, const std::string& local_path) : m_ps3_path(ps3_path) , m_local_path(GetWinPath(local_path)) { }