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 broken bitshifts in GCC version of X86_Convert32To24 #50

Merged
merged 1 commit into from Jan 28, 2022

Conversation

AliceLR
Copy link
Contributor

@AliceLR AliceLR commented Oct 1, 2020

This patch is based on a patch by @adelva1984 that has been sitting around in the MegaZeux repository for a while. The original bitshifts are obviously wrong and result in 2 of the 3 sample bytes being 0 or 0xFF instead of the intended value.

berenm pushed a commit to bminor/SDL_mixer that referenced this pull request Oct 2, 2020
Fixes broken bitshifts in libmodplug/src/fastmix.cpp:X86_Convert32To24()
SDL-mirror-bot pushed a commit to SDL-mirror/SDL_mixer that referenced this pull request Oct 2, 2020
Fixes broken bitshifts in libmodplug/src/fastmix.cpp:X86_Convert32To24()
icculus pushed a commit to icculus/SDL_sound that referenced this pull request Jun 28, 2021
icculus pushed a commit to icculus/SDL_sound that referenced this pull request Jun 28, 2021
icculus pushed a commit to icculus/SDL_sound that referenced this pull request Jun 28, 2021
icculus pushed a commit to icculus/SDL_sound that referenced this pull request Jun 28, 2021
@Konstanty Konstanty merged commit b554a6a into Konstanty:master Jan 28, 2022
@AliceLR AliceLR deleted the fix-x86-convert32to24 branch January 28, 2022 08:34
Wolf3s pushed a commit to Wolf3s/PS2SDL_mixer-1.2.12 that referenced this pull request Mar 30, 2024
Fixes broken bitshifts in libmodplug/src/fastmix.cpp:X86_Convert32To24()
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.

None yet

2 participants