Implement Qualcomm Sahara VIP and fix a few bugs

* Qualcomm Sahara VIP
* Project Cleanup
* Allow unlocking an already unlocked phone
This commit is contained in:
Gustave Monce
2021-08-11 14:33:49 +02:00
parent 9f4c92f437
commit c5fcb1ec8d
72 changed files with 987 additions and 861 deletions
+3 -3
View File
@@ -246,15 +246,15 @@ namespace WPinternals
BufferSize -= b.Length;
Monitor.Pulse(BufferQueue);
BytesRead += (b.Length - BufferOffset);
BytesRead += b.Length - BufferOffset;
BufferOffset = 0;
}
else
{
Array.Copy(b, BufferOffset, buffer, offset + BytesRead, count - BytesRead);
BufferOffset += (count - BytesRead);
BytesRead += (count - BytesRead);
BufferOffset += count - BytesRead;
BytesRead += count - BytesRead;
}
}
else