mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Set Psmf->headerSize to something.
Before it was uninitialized.
This commit is contained in:
parent
faf2fcb2c4
commit
bb10ffd38f
1 changed files with 2 additions and 0 deletions
|
@ -249,6 +249,8 @@ Psmf::Psmf(u32 data) {
|
||||||
streamDataNextBlockSize = bswap32(Memory::Read_U32(data + 0x6A));
|
streamDataNextBlockSize = bswap32(Memory::Read_U32(data + 0x6A));
|
||||||
streamDataNextInnerBlockSize = bswap32(Memory::Read_U32(data + 0x7C));
|
streamDataNextInnerBlockSize = bswap32(Memory::Read_U32(data + 0x7C));
|
||||||
numStreams = bswap16(Memory::Read_U16(data + 0x80));
|
numStreams = bswap16(Memory::Read_U16(data + 0x80));
|
||||||
|
// TODO: Always?
|
||||||
|
headerSize = 0x800;
|
||||||
|
|
||||||
currentStreamNum = -1;
|
currentStreamNum = -1;
|
||||||
currentAudioStreamNum = -1;
|
currentAudioStreamNum = -1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue