Set Psmf->headerSize to something.

Before it was uninitialized.
This commit is contained in:
Unknown W. Brackets committed 2014-01-01 13:38:03 -08:00
1 parent faf2fcb2c4
commit bb10ffd38f
1 file changed
+2
+2
View File
@@ -249,6 +249,8 @@ Psmf::Psmf(u32 data) {
streamDataNextBlockSize = bswap32(Memory::Read_U32(data + 0x6A));
streamDataNextInnerBlockSize = bswap32(Memory::Read_U32(data + 0x7C));
numStreams = bswap16(Memory::Read_U16(data + 0x80));
// TODO: Always?
headerSize = 0x800;
currentStreamNum = -1;
currentAudioStreamNum = -1;