Browse code

Fixed minor, non-breaking issue with reading SSEQs.

Naram Qashat authored on 2013/03/27 01:21:27
Showing 1 changed files
... ...
@@ -43,7 +43,7 @@ void SSEQ::Read(PseudoFile &file)
43 43
 		throw std::runtime_error("SSEQ DATA structure invalid");
44 44
 	uint32_t size = file.ReadLE<uint32_t>();
45 45
 	uint32_t dataOffset = file.ReadLE<uint32_t>();
46
-	this->data.resize(size, 0);
46
+	this->data.resize(size - 12, 0);
47 47
 	file.pos = startOfSSEQ + dataOffset;
48 48
 	file.ReadLE(this->data);
49 49
 }