diff options
author | Lioncash <mathew1800@gmail.com> | 2020-10-17 15:46:11 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-10-17 15:50:04 +0200 |
commit | c1577f3448d3d9a691efc252edbf46c7b6756cb5 (patch) | |
tree | 42fca9f8a3c14a346ce5a04fad066d88f6c3abd3 /src/core/hle/service/mii | |
parent | Merge pull request #4790 from lioncash/input-common (diff) | |
download | yuzu-c1577f3448d3d9a691efc252edbf46c7b6756cb5.tar yuzu-c1577f3448d3d9a691efc252edbf46c7b6756cb5.tar.gz yuzu-c1577f3448d3d9a691efc252edbf46c7b6756cb5.tar.bz2 yuzu-c1577f3448d3d9a691efc252edbf46c7b6756cb5.tar.lz yuzu-c1577f3448d3d9a691efc252edbf46c7b6756cb5.tar.xz yuzu-c1577f3448d3d9a691efc252edbf46c7b6756cb5.tar.zst yuzu-c1577f3448d3d9a691efc252edbf46c7b6756cb5.zip |
Diffstat (limited to 'src/core/hle/service/mii')
-rw-r--r-- | src/core/hle/service/mii/manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/mii/manager.cpp b/src/core/hle/service/mii/manager.cpp index 8e433eb41..d73b90015 100644 --- a/src/core/hle/service/mii/manager.cpp +++ b/src/core/hle/service/mii/manager.cpp @@ -131,7 +131,7 @@ template <typename T> T GetRandomValue(T min, T max) { std::random_device device; std::mt19937 gen(device()); - std::uniform_int_distribution<u64> distribution(0, static_cast<u64>(max)); + std::uniform_int_distribution<u64> distribution(static_cast<u64>(min), static_cast<u64>(max)); return static_cast<T>(distribution(gen)); } |