mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
Fix another off-by-one in TinyMT init calcs
This commit is contained in:
parent
27202b2fab
commit
7cead4b620
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ namespace ams::util {
|
|||
this->state.data[3] = ParamTmat;
|
||||
|
||||
{
|
||||
const int num_init_iterations = std::max(seed_count, MinimumInitIterations) - 1;
|
||||
const int num_init_iterations = std::max(seed_count + 1, MinimumInitIterations) - 1;
|
||||
|
||||
GenerateInitialValuePlus(&this->state, 0, seed_count);
|
||||
|
||||
|
|
Loading…
Reference in a new issue