diff options
author | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2012-03-29 15:50:27 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2012-03-29 15:50:27 +0200 |
commit | 907c942fd12ff204a387f5cc0a7f3de079186100 (patch) | |
tree | 5dfad7a827b3ceff16f775a5d10f72207d0b8007 /heimdall/source/EndFileTransferPacket.h | |
parent | Replaced some extremely weird code that I came up with during the initial (diff) | |
download | Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.gz Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.bz2 Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.lz Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.xz Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.zst Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.zip |
Diffstat (limited to '')
-rw-r--r-- | heimdall/source/EndFileTransferPacket.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/heimdall/source/EndFileTransferPacket.h b/heimdall/source/EndFileTransferPacket.h index 32eee60..23c2591 100644 --- a/heimdall/source/EndFileTransferPacket.h +++ b/heimdall/source/EndFileTransferPacket.h @@ -45,20 +45,20 @@ namespace Heimdall private:
- unsigned int destination; // Chip identifier perhaps
+ unsigned int destination; // PDA / Modem
unsigned int sequenceByteCount;
unsigned int unknown1;
- unsigned int partitionType;
+ unsigned int chipIdentifier;
protected:
- EndFileTransferPacket(unsigned int destination, unsigned int sequenceByteCount, unsigned int unknown1, unsigned int partitionType)
+ EndFileTransferPacket(unsigned int destination, unsigned int sequenceByteCount, unsigned int unknown1, unsigned int chipIdentifier)
: FileTransferPacket(FileTransferPacket::kRequestEnd)
{
this->destination = destination;
this->sequenceByteCount = sequenceByteCount;
this->unknown1 = unknown1;
- this->partitionType = partitionType;
+ this->chipIdentifier = chipIdentifier;
}
public:
@@ -78,9 +78,9 @@ namespace Heimdall return (unknown1);
}
- unsigned int GetPartitionType(void) const
+ unsigned int GetChipIdentifier(void) const
{
- return (partitionType);
+ return (chipIdentifier);
}
virtual void Pack(void)
@@ -90,7 +90,7 @@ namespace Heimdall PackInteger(FileTransferPacket::kDataSize, destination);
PackInteger(FileTransferPacket::kDataSize + 4, sequenceByteCount);
PackInteger(FileTransferPacket::kDataSize + 8, unknown1);
- PackInteger(FileTransferPacket::kDataSize + 12, partitionType);
+ PackInteger(FileTransferPacket::kDataSize + 12, chipIdentifier);
}
};
}
|