mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
SWORD25: Fix warning: double format, float arg on DC
This commit is contained in:
parent
2c8a9b0e76
commit
2068bc1527
@ -33,9 +33,9 @@ Sword25FileProxy::Sword25FileProxy(const Common::String &filename, const Common:
|
||||
}
|
||||
|
||||
void Sword25FileProxy::setupConfigFile() {
|
||||
float sfxVolume = ConfMan.hasKey("sfx_volume") ? 1.0 : 1.0 * ConfMan.getInt("sfx_volume") / 255.0;
|
||||
float musicVolume = ConfMan.hasKey("music_volume") ? 0.5 : 1.0 * ConfMan.getInt("music_volume") / 255.0;
|
||||
float speechVolume = ConfMan.hasKey("speech_volume") ? 1.0 : 1.0 * ConfMan.getInt("speech_volume") / 255.0;
|
||||
double sfxVolume = ConfMan.hasKey("sfx_volume") ? 1.0 : 1.0 * ConfMan.getInt("sfx_volume") / 255.0;
|
||||
double musicVolume = ConfMan.hasKey("music_volume") ? 0.5 : 1.0 * ConfMan.getInt("music_volume") / 255.0;
|
||||
double speechVolume = ConfMan.hasKey("speech_volume") ? 1.0 : 1.0 * ConfMan.getInt("speech_volume") / 255.0;
|
||||
bool subtitles = ConfMan.hasKey("subtitles") ? true : ConfMan.getBool("subtitles");
|
||||
|
||||
_readData = Common::String::format(
|
||||
|
Loading…
Reference in New Issue
Block a user