FPU: Removed forced rounding on DIV/SQRT/RSQRT (Do Not merge!) #3816
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added gamefix for Mortal Kombat Shaolin Monks
Description:
For a very long time PCSX2 has had the rounding mode of DIV, SQRT and RSQRT on the FPU forced to "Nearest" instead of Chop/Zero (unless you use the Neg DIV hack), presumably because it fixed some game and seemed like a good idea. This PR aims to remove it, but it needs to be tested thoroughly before we even think about merging it. I suspect a few games will require a gamefix (like Shaolin Monks did) but many other games might see a positive benefit from doing this.
Please reply below if any game needs any other rounding setting and if it has any adverse effects on the game.
Improvements:
Stuntman - AI is improved (but still not brilliant)
Freakstyle - Less issue with invisible walls
ONI - Interactable doors now fixed
Regressions:
Mortal Kombat Shaolin Monks - Texture sizes, fixed by setting rounding to positive