mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-08-10 01:51:15 +10:00
Cleanup Sahara Implementation
This commit is contained in:
@@ -218,10 +218,13 @@ namespace WPinternals
|
||||
//
|
||||
// If you do not order payloads like this, you will get an error, most likely hash mismatch
|
||||
//
|
||||
LumiaV2UnlockBootViewModel.FlashingPayload[] payloads = Array.Empty<LumiaV2UnlockBootViewModel.FlashingPayload>();
|
||||
LumiaV2UnlockBootViewModel.FlashingPayload[] payloads = [];
|
||||
if (FlashParts != null)
|
||||
{
|
||||
payloads = LumiaV2UnlockBootViewModel.GetNonOptimizedPayloads(FlashParts, chunkSizes, Info.WriteBufferSize / chunkSize, SetWorkingStatus, UpdateWorkingStatus).OrderBy(x => x.TargetLocations.Length).ToArray();
|
||||
payloads =
|
||||
[
|
||||
.. LumiaV2UnlockBootViewModel.GetNonOptimizedPayloads(FlashParts, chunkSizes, Info.WriteBufferSize / chunkSize, SetWorkingStatus, UpdateWorkingStatus).OrderBy(x => x.TargetLocations.Length),
|
||||
];
|
||||
}
|
||||
|
||||
MemoryStream Headerstream1 = new();
|
||||
|
||||
Reference in New Issue
Block a user