rpcsx/rpcs3/Emu/VFS.h
Nekotekina eea2c20420 Improve vfs::mount
Mount /dev_bdvd/PS3_GAME if necessary
2018-03-11 19:33:01 +03:00

19 lines
460 B
C++

#pragma once
#include <string>
namespace vfs
{
// Mount VFS device
bool mount(const std::string& dev_name, const std::string& path);
// Convert VFS path to fs path
std::string get(const std::string& vpath, const std::string* = nullptr, std::size_t = 0);
// Escape VFS path by replacing non-portable characters with surrogates
std::string escape(const std::string& path);
// Invert escape operation
std::string unescape(const std::string& path);
}