mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Minor fixes, make the achievement volume independent again
This commit is contained in:
1 parent
aad3aa02e7
commit
fcaf3daea9
2 files changed
+11
-4
No files matched your search
+1
-1
@@ -630,7 +630,7 @@ void EmuScreen::sendMessage(UIMessage message, const char *value) {
|
||||
}
|
||||
} else if (message == UIMessage::REQUEST_PLAY_SOUND) {
|
||||
if (g_Config.bAchievementsSoundEffects && g_Config.bEnableSound) {
|
||||
float achievementVolume = Volume100ToMultiplier(g_Config.iAchievementVolume) * Volume100ToMultiplier(g_Config.iGameVolume);
|
||||
float achievementVolume = Volume100ToMultiplier(g_Config.iAchievementVolume);
|
||||
// TODO: Handle this some nicer way.
|
||||
if (!strcmp(value, "achievement_unlocked")) {
|
||||
g_BackgroundAudio.SFX().Play(UI::UISound::ACHIEVEMENT_UNLOCKED, achievementVolume);
|
||||
|
||||
Reference in new issue
Block a user