early-access version 3269

main
pineappleEA 2023-01-01 22:31:52 +01:00
parent 6c511d2f94
commit 7a53866cf0
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 3268. This is the source code for early-access 3269.
## Legal Notice ## Legal Notice

View File

@ -194,9 +194,9 @@ std::size_t VfsFile::WriteBytes(const std::vector<u8>& data, std::size_t offset)
std::string VfsFile::GetFullPath() const { std::string VfsFile::GetFullPath() const {
if (GetContainingDirectory() == nullptr) if (GetContainingDirectory() == nullptr)
return "/" + GetName(); return '/' + GetName();
return GetContainingDirectory()->GetFullPath() + "/" + GetName(); return GetContainingDirectory()->GetFullPath() + '/' + GetName();
} }
VirtualFile VfsDirectory::GetFileRelative(std::string_view path) const { VirtualFile VfsDirectory::GetFileRelative(std::string_view path) const {
@ -435,7 +435,7 @@ std::string VfsDirectory::GetFullPath() const {
if (IsRoot()) if (IsRoot())
return GetName(); return GetName();
return GetParentDirectory()->GetFullPath() + "/" + GetName(); return GetParentDirectory()->GetFullPath() + '/' + GetName();
} }
bool ReadOnlyVfsDirectory::IsWritable() const { bool ReadOnlyVfsDirectory::IsWritable() const {