mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 11:13:57 +00:00
Apply review suggestion
This commit is contained in:
@@ -187,7 +187,7 @@ namespace syscalls
|
||||
c.emu, fs_information, length, io_status_block, [&](_FILE_FS_ATTRIBUTE_INFORMATION& info) {
|
||||
info.FileSystemAttributes = 0x40006; // FILE_CASE_PRESERVED_NAMES | FILE_UNICODE_ON_DISK | FILE_NAMED_STREAMS
|
||||
info.MaximumComponentNameLength = 255;
|
||||
const auto name = u"NTFS"s;
|
||||
constexpr auto name = u"NTFS"sv;
|
||||
info.FileSystemNameLength = static_cast<ULONG>(name.size() * sizeof(char16_t));
|
||||
memcpy(info.FileSystemName, name.data(), info.FileSystemNameLength);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user