Skip to content

Commit

Permalink
Sas: Automatically unpause voice on unset ATRAC3.
Browse files Browse the repository at this point in the history
Thie fixes voices in Sol Trigger after skipping a cutscene, and matches
tests.
  • Loading branch information
unknownbrackets committed Nov 9, 2015
1 parent 5374e6a commit c22c181
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Core/HLE/sceSas.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit c22c181

Please sign in to comment.