mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Run clang-format
This commit is contained in:
parent
d999edfd2c
commit
1f05a8a6a6
125 changed files with 10664 additions and 7154 deletions
|
|
@ -11,11 +11,10 @@
|
|||
static std::map<std::string, orbis::Ref<IoDevice>> sMountsMap;
|
||||
|
||||
void rx::vfs::initialize() {}
|
||||
void rx::vfs::deinitialize() {
|
||||
sMountsMap.clear();
|
||||
}
|
||||
void rx::vfs::deinitialize() { sMountsMap.clear(); }
|
||||
|
||||
orbis::SysResult rx::vfs::mount(const std::filesystem::path &guestPath, IoDevice *dev) {
|
||||
orbis::SysResult rx::vfs::mount(const std::filesystem::path &guestPath,
|
||||
IoDevice *dev) {
|
||||
auto [it, inserted] =
|
||||
sMountsMap.emplace(guestPath.lexically_normal().string(), dev);
|
||||
|
||||
|
|
@ -27,7 +26,7 @@ orbis::SysResult rx::vfs::mount(const std::filesystem::path &guestPath, IoDevice
|
|||
}
|
||||
|
||||
orbis::SysResult rx::vfs::open(std::string_view path, int flags, int mode,
|
||||
orbis::Ref<IoDeviceInstance> *instance) {
|
||||
orbis::Ref<IoDeviceInstance> *instance) {
|
||||
orbis::Ref<IoDevice> device;
|
||||
bool isCharacterDevice = path.starts_with("/dev/");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue