From 7a53866cf01f1ed65b74fbeee94b02913458f076 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Sun, 1 Jan 2023 22:31:52 +0100 Subject: [PATCH] early-access version 3269 --- README.md | 2 +- src/core/file_sys/vfs.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eeb866e6c..519de0acb 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3268. +This is the source code for early-access 3269. ## Legal Notice diff --git a/src/core/file_sys/vfs.cpp b/src/core/file_sys/vfs.cpp index eeb2015cb..e13d4e409 100755 --- a/src/core/file_sys/vfs.cpp +++ b/src/core/file_sys/vfs.cpp @@ -194,9 +194,9 @@ std::size_t VfsFile::WriteBytes(const std::vector& data, std::size_t offset) std::string VfsFile::GetFullPath() const { if (GetContainingDirectory() == nullptr) - return "/" + GetName(); + return '/' + GetName(); - return GetContainingDirectory()->GetFullPath() + "/" + GetName(); + return GetContainingDirectory()->GetFullPath() + '/' + GetName(); } VirtualFile VfsDirectory::GetFileRelative(std::string_view path) const { @@ -435,7 +435,7 @@ std::string VfsDirectory::GetFullPath() const { if (IsRoot()) return GetName(); - return GetParentDirectory()->GetFullPath() + "/" + GetName(); + return GetParentDirectory()->GetFullPath() + '/' + GetName(); } bool ReadOnlyVfsDirectory::IsWritable() const {