Fixing empty VFS devices.

This commit is contained in:
Ben Vanik 2015-06-28 14:41:42 -07:00
parent 5ca8caa9a7
commit d0713708e2
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ Entry* Device::ResolvePath(const char* path) {
XELOGFS("Device::ResolvePath(%s)", path);
if (!root_entry_) {
// No content at all.
return nullptr;
}
// Walk the path, one separator at a time.
auto entry = root_entry_.get();
auto path_parts = xe::split_path(path);