mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-17 23:37:32 +01:00
yuzu: config: Silence narrowing conversion warning on MSVC
This commit is contained in:
parent
e1a196cfd7
commit
29a06ad393
@ -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…
Reference in New Issue
Block a user