Ejemplo n.º 1
0
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);
}
Ejemplo n.º 2
0
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);
}
Ejemplo n.º 3
0
vfsDevice::vfsDevice(const std::string& ps3_path, const std::string& local_path)
	: m_ps3_path(ps3_path)
	, m_local_path(GetWinPath(local_path))
{
}