diff options
author | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2012-03-28 14:59:27 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2012-03-28 14:59:27 +0200 |
commit | ee02a9c7c51d069de26f04d8d9464d573ed82d22 (patch) | |
tree | b82798f845129c76fec7e2a982bf4b5b2849c2a8 /heimdall/source/EndFileTransferPacket.h | |
parent | Updated libusb-1.0 binaries/headers for windows. (diff) | |
download | Heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.tar Heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.tar.gz Heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.tar.bz2 Heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.tar.lz Heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.tar.xz Heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.tar.zst Heimdall-ee02a9c7c51d069de26f04d8d9464d573ed82d22.zip |
Diffstat (limited to 'heimdall/source/EndFileTransferPacket.h')
-rw-r--r-- | heimdall/source/EndFileTransferPacket.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/heimdall/source/EndFileTransferPacket.h b/heimdall/source/EndFileTransferPacket.h index a67eeaa..73353d5 100644 --- a/heimdall/source/EndFileTransferPacket.h +++ b/heimdall/source/EndFileTransferPacket.h @@ -49,12 +49,12 @@ namespace Heimdall unsigned short partialPacketLength; // Length or (length - 65536) if lastFullPacket is odd.
unsigned int lastFullPacketIndex;
unsigned short unknown1;
- unsigned int unknown2;
+ unsigned int partitionType;
protected:
EndFileTransferPacket(unsigned int destination, unsigned int partialPacketLength, unsigned int lastFullPacketIndex,
- unsigned short unknown1, unsigned int unknown2)
+ unsigned short unknown1, unsigned int partitionType)
: FileTransferPacket(FileTransferPacket::kRequestEnd)
{
this->destination = destination;
@@ -71,7 +71,7 @@ namespace Heimdall }
this->unknown1 = unknown1;
- this->unknown2 = unknown2;
+ this->partitionType = partitionType;
}
public:
@@ -99,9 +99,9 @@ namespace Heimdall return (unknown1);
}
- unsigned int GetUnknown2(void) const
+ unsigned int GetPartitionType(void) const
{
- return (unknown2);
+ return (partitionType);
}
virtual void Pack(void)
@@ -112,7 +112,7 @@ namespace Heimdall PackShort(FileTransferPacket::kDataSize + 4, partialPacketLength);
PackInteger(FileTransferPacket::kDataSize + 6, lastFullPacketIndex);
PackShort(FileTransferPacket::kDataSize + 10, unknown1);
- PackInteger(FileTransferPacket::kDataSize + 12, unknown2);
+ PackInteger(FileTransferPacket::kDataSize + 12, partitionType);
}
};
}
|