Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix an oversight where sound would never be initialised if a game is started with it off, and then is enabled later. #3165

Merged
merged 2 commits into from
Aug 14, 2013

Conversation

thedax
Copy link
Collaborator

@thedax thedax commented Aug 14, 2013

Before, if a user started a game with sound disabled, the mixer would never be initialised, even if they turn it on later, and they're still in-game. This simply checks to see if mixer isn't null(and that we're in-game via PSP_IsInited) and if it is, it initialises it.

It was just an oversight, really.

@dbz400
Copy link
Contributor

dbz400 commented Aug 14, 2013

This bug has been for long time and good to see if get fixed :)

@thedax
Copy link
Collaborator Author

thedax commented Aug 14, 2013

Yeah, it was simple to fix. 👍

Someone just forgot to initialise sound if it's enabled at a later point. No big deal.

hrydgard added a commit that referenced this pull request Aug 14, 2013
Fix an oversight where sound would never be initialised if a game is started with it off, and then is enabled later.
@hrydgard hrydgard merged commit e53d582 into hrydgard:master Aug 14, 2013
@thedax thedax deleted the soundInitFix branch August 14, 2013 15:24
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.

3 participants