DiscUtils: Fat: Fix an issue with no long path name support in the upstream library

This commit is contained in:
Gustave Monce
2021-08-11 11:09:38 +02:00
parent 847ce0506d
commit efc81332f9
20 changed files with 4827 additions and 8 deletions
+1 -1
View File
@@ -480,7 +480,7 @@ namespace WPinternals
byte[] efiesp = GetPartition("EFIESP");
MemoryStream s = new(efiesp);
DiscUtils.Fat.FatFileSystem fs = new(s);
Stream mss = fs.OpenFile(@"Windows\System32\Boot\mobilestartup.efi", FileMode.Open, FileAccess.Read);
Stream mss = fs.OpenFile(@"\Windows\System32\Boot\mobilestartup.efi", FileMode.Open, FileAccess.Read);
MemoryStream msms = new();
mss.CopyTo(msms);
byte[] mobilestartup = msms.ToArray();