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 for 1.19.60.26 Beta #36

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Conversation

0xCatPKG
Copy link
Contributor

@0xCatPKG 0xCatPKG commented Jan 12, 2023

Fix for changed ABI in 1.19.60.26 beta. Mojang just changed signature of Mouse::feed from (char, char, short, short, short, short) to (char, signed char, short, short, short, short).
Not tested on ARM platforms, macOS.
Code checks if _ZN5Mouse4feedEccssss exists, if not, it tries to use the symbol _ZN5Mouse4feedEcassss instead

Congratulations to Mojang on successfully changing the signature of the Mouse::feed method!
- If `_ZN5Mouse4feedEccssss` is not found, try to use `_ZN5Mouse4feedEcassss` instead
@0xCatPKG
Copy link
Contributor Author

@ChristopherHX ChristopherHX merged commit 458673e into minecraft-linux:master Jan 12, 2023
@ChristopherHX
Copy link
Member

If I think more about it, they fixed the signature for arm based platforms. char is by default signed on intel, but unsigned under arm.

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