From ae9fcb5a6fe9e06707ba7f2cda0abf06d47280bb Mon Sep 17 00:00:00 2001 From: raven02 Date: Thu, 24 Jan 2013 20:13:12 +0800 Subject: [PATCH] Fix high pitch noise and looping issues in few games --- Core/HLE/sceSas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceSas.cpp b/Core/HLE/sceSas.cpp index 377034a0a0..1e4c8c7a9b 100644 --- a/Core/HLE/sceSas.cpp +++ b/Core/HLE/sceSas.cpp @@ -134,7 +134,7 @@ u32 sceSasSetVoice(u32 core, int voiceNum, u32 vagAddr, int size, int loop) v.type = VOICETYPE_VAG; v.vagAddr = vagAddr; v.vagSize = size; - v.loop = loop ? true : false; + v.loop = loop ? false : true; v.ChangedParams(true); return 0; } @@ -162,7 +162,7 @@ u32 sceSasSetVoicePCM(u32 core, int voiceNum, u32 pcmAddr, int size, int loop) v.type = VOICETYPE_PCM; v.pcmAddr = pcmAddr; v.pcmSize = size; - v.loop = loop ? true : false; + v.loop = loop ? false : true; v.playing = true; v.ChangedParams(true); return 0;