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

Implement round-to-nearest integral devision helper #7112

Merged
merged 2 commits into from
Dec 20, 2019
Merged

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Dec 19, 2019

Simplifies sceNpTrophyGetGameProgress, also fixes potential truncation warnings in aligned_div.

@elad335 elad335 force-pushed the util branch 2 times, most recently from 8b7e2dc to 19c6f36 Compare December 19, 2019 18:20
@elad335

This comment has been minimized.

@elad335 elad335 force-pushed the util branch 4 times, most recently from 2141444 to 5543310 Compare December 19, 2019 20:14
Round-to-nearest integral based division, optimized for unsigned integral.
Used in sceNpTrophyGetGameProgress.
Do not allow signed values for aligned_div(), align().
@kd-11 kd-11 merged commit db4041e into RPCS3:master Dec 20, 2019
@elad335 elad335 deleted the util branch December 20, 2019 11:48
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