aboutsummaryrefslogtreecommitdiffstats
path: root/heimdall/source/EndModemFileTransferPacket.h
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2012-03-28 23:59:27 +1100
committerBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2012-03-28 23:59:27 +1100
commitee02a9c7c51d069de26f04d8d9464d573ed82d22 (patch)
treeb82798f845129c76fec7e2a982bf4b5b2849c2a8 /heimdall/source/EndModemFileTransferPacket.h
parente40e701387c10663fc3f415e5f5189698c1782ab (diff)
downloadexternal_heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.zip
external_heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.tar.gz
external_heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.tar.bz2
Made the last parameter of EndFileTransferPacket partitionType (obtained
from the device's PIT)
Diffstat (limited to 'heimdall/source/EndModemFileTransferPacket.h')
-rw-r--r--heimdall/source/EndModemFileTransferPacket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/heimdall/source/EndModemFileTransferPacket.h b/heimdall/source/EndModemFileTransferPacket.h
index f4f4d56..a2d88ca 100644
--- a/heimdall/source/EndModemFileTransferPacket.h
+++ b/heimdall/source/EndModemFileTransferPacket.h
@@ -35,9 +35,9 @@ namespace Heimdall
public:
EndModemFileTransferPacket(unsigned int partialPacketLength, unsigned int lastFullPacketIndex, unsigned short unknown1,
- unsigned int unknown2, bool endOfFile)
+ unsigned int partitionType, bool endOfFile)
: EndFileTransferPacket(EndFileTransferPacket::kDestinationModem, partialPacketLength,
- lastFullPacketIndex, unknown1, unknown2)
+ lastFullPacketIndex, unknown1, partitionType)
{
this->endOfFile = (endOfFile) ? 1 : 0;
}