Skip to content

fixed audio timer period overflow#42

Merged
mohanson merged 1 commit into
libraries:masterfrom
stecheiguess:master
Sep 15, 2024
Merged

fixed audio timer period overflow#42
mohanson merged 1 commit into
libraries:masterfrom
stecheiguess:master

Conversation

@stecheiguess

Copy link
Copy Markdown
Contributor

No description provided.

@mohanson

Copy link
Copy Markdown
Collaborator

How did you find out that this would cause an overflow? When I wrote this code, I should have made sure that there would be no overflow.

@stecheiguess

Copy link
Copy Markdown
Contributor Author

Running pokemon red with audio led to the program to crash whenever each channel produced sound, leading to an 'attempt to add/subtract with overflow' error.

@mohanson mohanson merged commit 1eeb19a into libraries:master Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants