Browse Source

Merge pull request #6258 from Morph1984/config-conv

yuzu: config: Silence narrowing conversion warning on MSVC
nce_cpp
bunnei 5 years ago
committed by GitHub
parent
commit
8a9d21b1fd
  1. 3
      src/yuzu/configuration/config.cpp

3
src/yuzu/configuration/config.cpp

@ -863,8 +863,7 @@ void Config::ReadSystemValues() {
Settings::values.rng_seed.SetGlobal(rng_seed_global);
if (global || !rng_seed_global) {
if (rng_seed_enabled) {
Settings::values.rng_seed.SetValue(
ReadSetting(QStringLiteral("rng_seed"), 0).toULongLong());
Settings::values.rng_seed.SetValue(ReadSetting(QStringLiteral("rng_seed"), 0).toUInt());
} else {
Settings::values.rng_seed.SetValue(std::nullopt);
}

Loading…
Cancel
Save