mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 21:21:05 +00:00
NANCY: Silence MSVC warning
This commit is contained in:
parent
1ab7f2af38
commit
0154a4565c
@ -166,7 +166,7 @@ void SetupMenu::run() {
|
||||
float endPos = scroll->getPos();
|
||||
|
||||
if (endPos != startPos) {
|
||||
Audio::Mixer::SoundType type;
|
||||
Audio::Mixer::SoundType type = Audio::Mixer::SoundType::kSpeechSoundType;
|
||||
switch (i) {
|
||||
case 0 :
|
||||
type = Audio::Mixer::SoundType::kSpeechSoundType;
|
||||
@ -180,6 +180,8 @@ void SetupMenu::run() {
|
||||
type = Audio::Mixer::SoundType::kSFXSoundType;
|
||||
ConfMan.setInt("sfx_volume", endPos * 255, ConfMan.getActiveDomainName());
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
g_system->getMixer()->setVolumeForSoundType(type, endPos * 255);
|
||||
|
Loading…
x
Reference in New Issue
Block a user