Closed abledbody closed 9 months ago
GenericLcg32.next_u32 does not, as the documentation and function signature suggest, advance the randomizer. It returns the next value without ever mutating.
GenericLcg32.next_u32
You're definitely correct and I'm amused that the code is 2 years old and no one ever tried to use it.
released gba-0.11.5 with the fix
gba-0.11.5
GenericLcg32.next_u32
does not, as the documentation and function signature suggest, advance the randomizer. It returns the next value without ever mutating.