mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01: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:
1 parent
5374e6a8fc
commit
c22c181148
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user