Merge pull request #1597 from sum2012/patch-4

Fix Sengoku Musou 3 Z Special  crash in  sceAtracGetChannel
This commit is contained in:
Henrik Rydgård 2013-04-29 11:06:01 -07:00
commit 685e83670e

View File

@ -396,7 +396,8 @@ u32 sceAtracGetChannel(int atracID, u32 channelAddr)
ERROR_LOG(HLE, "UNIMPL sceAtracGetChannel(%i, %08x)", atracID, channelAddr);
Atrac *atrac = getAtrac(atracID);
if (!atrac) {
//return -1;
//Fix Sengoku Musou 3 Z Special [JPN] crash
return -1;
}
if (Memory::IsValidAddress(channelAddr))
Memory::Write_U32(atrac->atracChannels, channelAddr);