Sas: Automatically unpause voice on unset ATRAC3.

Thie fixes voices in Sol Trigger after skipping a cutscene, and matches
tests.
This commit is contained in:
Unknown W. Brackets 2015-11-09 08:25:35 -08:00
parent 5374e6a8fc
commit c22c181148

View file

@ -607,6 +607,8 @@ static u32 __sceSasUnsetATRAC3(u32 core, int voiceNum) {
v.type = VOICETYPE_OFF;
v.playing = false;
v.on = false;
// This unpauses. Some games, like Sol Trigger, depend on this.
v.paused = false;
Memory::Write_U32(0, core + 56 * voiceNum + 20);
return hleLogSuccessI(SCESAS, 0);