mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-17 05:11:01 +00:00
tinymt: correct init iter count
This commit is contained in:
parent
1556a92a38
commit
27202b2fab
@ -79,7 +79,7 @@ namespace ams::util {
|
||||
this->state.data[3] = ParamTmat;
|
||||
|
||||
{
|
||||
const int num_init_iterations = std::max(seed_count, MinimumInitIterations);
|
||||
const int num_init_iterations = std::max(seed_count, MinimumInitIterations) - 1;
|
||||
|
||||
GenerateInitialValuePlus(&this->state, 0, seed_count);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user