Browse Source

Add missing Heimdall patch

main
Pekka Helenius 3 years ago
parent
commit
1c76fd4bee
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      misc/heimdall/patch_filepartindex.patch

+ 16
- 0
misc/heimdall/patch_filepartindex.patch View File

@ -0,0 +1,16 @@
--- a/heimdall/source/BridgeManager.cpp 2021-07-01 20:11:25.904083328 +0300
+++ b/heimdall/source/BridgeManager.cpp 2021-07-01 20:16:20.223490117 +0300
@@ -1107,6 +1107,13 @@ bool BridgeManager::SendFile(FILE *file,
success = ReceivePacket(sendFilePartResponse);
int receivedPartIndex = sendFilePartResponse->GetPartIndex();
+ if (filePartIndex == 0)
+ {
+ // Hack
+ success = true;
+ receivedPartIndex = filePartIndex;
+ }
+
delete sendFilePartResponse;
if (!success)

Loading…
Cancel
Save