Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Randomizer doesn't advance #192

Closed
abledbody opened this issue Mar 3, 2024 · 2 comments
Closed

Randomizer doesn't advance #192

abledbody opened this issue Mar 3, 2024 · 2 comments

Comments

@abledbody
Copy link

GenericLcg32.next_u32 does not, as the documentation and function signature suggest, advance the randomizer. It returns the next value without ever mutating.

@Lokathor
Copy link
Member

Lokathor commented Mar 4, 2024

You're definitely correct and I'm amused that the code is 2 years old and no one ever tried to use it.

@Lokathor
Copy link
Member

Lokathor commented Mar 4, 2024

released gba-0.11.5 with the fix

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants