Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix an issue where IsSupported occasionally returns 0 in the 64-bit version #11

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Conversation

sincos2854
Copy link
Contributor

There was an issue where the 64-bit version of the IsSupported function occasionally returned 0, and I have fixed it.
The following code for the 32-bit version:

if ((variant & 0xFFFF0000) == 0)

needs to be changed to the following code for the 64-bit version:

if ((variant & 0xFFFFFFFFFFFF0000) == 0)

If there are no issues with this pull request, could you please apply the same fix to all of your Susie-plugins?

@uyjulian
Copy link
Owner

This is good, thanks!

@uyjulian uyjulian merged commit 8464f02 into uyjulian:main Sep 25, 2024
7 checks passed
@sincos2854
Copy link
Contributor Author

Thank you for accepting my pull request.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants