mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
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:
parent
5374e6a8fc
commit
c22c181148
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue