1
0
Fork 0
forked from suyu/suyu

yuzu_cmd/config: Silent implicit cast warning

This commit is contained in:
ReinUsesLisp 2019-03-09 03:58:20 -03:00
parent 9909d40530
commit fedef7bda3

View file

@ -366,7 +366,7 @@ void Config::ReadValues() {
Settings::values.enable_audio_stretching =
sdl2_config->GetBoolean("Audio", "enable_audio_stretching", true);
Settings::values.audio_device_id = sdl2_config->Get("Audio", "output_device", "auto");
Settings::values.volume = sdl2_config->GetReal("Audio", "volume", 1);
Settings::values.volume = static_cast<float>(sdl2_config->GetReal("Audio", "volume", 1));
Settings::values.language_index = sdl2_config->GetInteger("System", "language_index", 1);