diff --git a/libraries/libstratosphere/source/util/util_tinymt.cpp b/libraries/libstratosphere/source/util/util_tinymt.cpp index 3d2c7f993..9e34a3f3a 100644 --- a/libraries/libstratosphere/source/util/util_tinymt.cpp +++ b/libraries/libstratosphere/source/util/util_tinymt.cpp @@ -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);