[VFS] Fixed crash on filename extraction from path.
Names are in CP1252 which fails conversion to utf8.
This commit is contained in:
@@ -134,7 +134,8 @@ class Entry {
|
||||
virtual void update() { return; }
|
||||
|
||||
protected:
|
||||
Entry(Device* device, Entry* parent, const std::string_view path);
|
||||
Entry(Device* device, Entry* parent, const std::string_view path,
|
||||
const std::string_view name);
|
||||
|
||||
virtual std::unique_ptr<Entry> CreateEntryInternal(
|
||||
const std::string_view name, uint32_t attributes) {
|
||||
|
||||
Reference in New Issue
Block a user