Merge pull request #2504 from mschic/master

Fixing scePsmf for AKB48 MPEG crash because wrong pointer
This commit is contained in:
Henrik Rydgård 2013-06-27 14:15:22 -07:00
commit 49da6435f0

View File

@ -1069,10 +1069,10 @@ u32 scePsmfPlayerGetCurrentPlayMode(u32 psmfPlayer, u32 playModeAddr, u32 playSp
}
WARN_LOG(HLE, "scePsmfPlayerGetCurrentPlayMode(%08x, %08x, %08x)", psmfPlayer, playModeAddr, playSpeedAddr);
if (Memory::IsValidAddress(playModeAddr)) {
Memory::Write_U64(psmfplayer->playMode, playModeAddr);
Memory::Write_U32(psmfplayer->playMode, playModeAddr); //Fixing for AKB MPEG wrong pointer
}
if (Memory::IsValidAddress(playSpeedAddr)) {
Memory::Write_U64(psmfplayer->playSpeed, playSpeedAddr);
Memory::Write_U32(psmfplayer->playSpeed, playSpeedAddr); //Fixing for AKB MPEG wrong pointer
}
return 0;
}