Revert "[VFS] Fixed crash on filename extraction from path."
This reverts commit02f5316562. It's not needed anymore thanks to6cba5ba7e6
This commit is contained in:
@@ -20,9 +20,8 @@ namespace xe {
|
||||
namespace vfs {
|
||||
|
||||
DiscZarchiveEntry::DiscZarchiveEntry(Device* device, Entry* parent,
|
||||
const std::string_view path,
|
||||
const std::string_view name)
|
||||
: Entry(device, parent, path, name),
|
||||
const std::string_view path)
|
||||
: Entry(device, parent, path),
|
||||
data_offset_(0),
|
||||
data_size_(0),
|
||||
handle_(ZARCHIVE_INVALID_NODE) {}
|
||||
@@ -32,7 +31,7 @@ DiscZarchiveEntry::~DiscZarchiveEntry() = default;
|
||||
std::unique_ptr<DiscZarchiveEntry> DiscZarchiveEntry::Create(
|
||||
Device* device, Entry* parent, const std::string_view name) {
|
||||
auto path = name; // xe::utf8::join_guest_paths(parent->path(), name);
|
||||
auto entry = std::make_unique<DiscZarchiveEntry>(device, parent, path, name);
|
||||
auto entry = std::make_unique<DiscZarchiveEntry>(device, parent, path);
|
||||
return std::move(entry);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user