mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-30 17:02:19 +00:00
Merge pull request #1597 from sum2012/patch-4
Fix Sengoku Musou 3 Z Special crash in sceAtracGetChannel
This commit is contained in:
commit
685e83670e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user