[VFS] Fixed crash on filename extraction from path.

Names are in CP1252 which fails conversion to utf8.
This commit is contained in:
Gliniak
2024-08-31 18:15:13 +02:00
parent 59eed7818f
commit 02f5316562
18 changed files with 44 additions and 29 deletions

View File

@@ -22,7 +22,8 @@ class NullDevice;
class NullEntry : public Entry {
public:
NullEntry(Device* device, Entry* parent, std::string path);
NullEntry(Device* device, Entry* parent, std::string path,
const std::string_view name);
~NullEntry() override;
static NullEntry* Create(Device* device, Entry* parent,