forked from ShuriZma/suyu
yuzu_cmd/config: Silent implicit cast warning
This commit is contained in:
parent
9909d40530
commit
fedef7bda3
|
@ -366,7 +366,7 @@ void Config::ReadValues() {
|
||||||
Settings::values.enable_audio_stretching =
|
Settings::values.enable_audio_stretching =
|
||||||
sdl2_config->GetBoolean("Audio", "enable_audio_stretching", true);
|
sdl2_config->GetBoolean("Audio", "enable_audio_stretching", true);
|
||||||
Settings::values.audio_device_id = sdl2_config->Get("Audio", "output_device", "auto");
|
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);
|
Settings::values.language_index = sdl2_config->GetInteger("System", "language_index", 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue