mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-26 09:50:29 +00:00
Don't error when savestating a psmfplayer.
This commit is contained in:
parent
7a0c1f822d
commit
4fbfc5406f
@ -245,6 +245,10 @@ Psmf::~Psmf() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PsmfPlayer::PsmfPlayer(u32 data) {
|
PsmfPlayer::PsmfPlayer(u32 data) {
|
||||||
|
// Used for savestates.
|
||||||
|
if (data == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
videoCodec = Memory::Read_U32(data);
|
videoCodec = Memory::Read_U32(data);
|
||||||
videoStreamNum = Memory::Read_U32(data + 4);
|
videoStreamNum = Memory::Read_U32(data + 4);
|
||||||
audioCodec = Memory::Read_U32(data + 8);
|
audioCodec = Memory::Read_U32(data + 8);
|
||||||
|
Loading…
Reference in New Issue
Block a user