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

Fixed bug introduced in PR#803 caused by casting #946

Merged
merged 1 commit into from Sep 3, 2014

Conversation

crozhon
Copy link
Contributor

@crozhon crozhon commented Sep 3, 2014

Also changed casts to C++ style casts to removed some of the ambiguity.

PR#803
Sorry about introducing this bug. Hopefully this fixes it correctly. The original code had one of the addends being promoted to a double. This means it could have been negative. My original change removed the possibility for this addend to be negative, introducing the bug. This fix also doesn't introduce any warnings on VS2013, but I haven't had a chance to check it on Linux.

I also took this opportunity to change the casts to C++ style casts on archshift's recommendation.

Also changed casts to C++ style casts to removed some of the ambiguity.
@skidau
Copy link
Contributor

skidau commented Sep 3, 2014

@dolphin-emu-bot rebuild

shuffle2 added a commit that referenced this pull request Sep 3, 2014
Fixed bug introduced in PR#803 caused by casting
@shuffle2 shuffle2 merged commit d20f5fb into dolphin-emu:master Sep 3, 2014
@Hydr8gon
Copy link
Member

Hydr8gon commented Sep 3, 2014

The problem with Android and the joysticks is still not resolved. Seems like something is still wrong, but I don't know what. I'm puzzled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants