the original method is quite inaccurate, especially when you're dealing with interpolation and is just not adequate. Sten mentioned that it's likely that there would be a stall with the original multiplication anyway, so the performance difference is negligible. But this fixes a bunch of problems. Faster isn't better if it breaks things.
Suggested Testing Steps
Test games listed below in SW or any you know that have SW only issues. I've checked Armored Core's radar and GOW's controller screen, plus the lines problem in Mercenaries and Klonoa 2, Crash Twinsanity's weird pixels on curves.
Fixes #3295 Metal Gear Solid 2 Locker
Fixes #4825 Spider-Man 3 texture issues
Fixes #6156 Corrects Castlevania map in software mode (Hardware was already fixed)
Corrects #9151 Bonus Demo 08 images in software.
Note: All fixes are for Software ONLY
Bonus Demo 08:
Master:
PR:
Capcom Vs SNK 2 (Colouring on the healthbars corrected):
Master:
PR:
Description of Changes
Replaces reciprocal Q with normal ST/Q division.
Rationale behind Changes
the original method is quite inaccurate, especially when you're dealing with interpolation and is just not adequate. Sten mentioned that it's likely that there would be a stall with the original multiplication anyway, so the performance difference is negligible. But this fixes a bunch of problems. Faster isn't better if it breaks things.
Suggested Testing Steps
Test games listed below in SW or any you know that have SW only issues. I've checked Armored Core's radar and GOW's controller screen, plus the lines problem in Mercenaries and Klonoa 2, Crash Twinsanity's weird pixels on curves.
Fixes #3295 Metal Gear Solid 2 Locker Fixes #4825 Spider-Man 3 texture issues Fixes #6156 Corrects Castlevania map in software mode (Hardware was already fixed) Corrects #9151 Bonus Demo 08 images in software.
Note: All fixes are for Software ONLY
Bonus Demo 08: Master:
PR:
![image](https://github.com/PCSX2/pcsx2/assets/6278726/3be7b103-0b23-4821-88ed-52e281d8f224)
Capcom Vs SNK 2 (Colouring on the healthbars corrected): Master:
PR:
![image](https://github.com/PCSX2/pcsx2/assets/6278726/56cb0505-c5b2-400b-b17e-5546426aa241)
Castlevania - Curse of Darkness: Master:
PR:
![image](https://github.com/PCSX2/pcsx2/assets/6278726/43eeff5f-c6bf-475d-834f-1e35a5014eae)
Metal Gear Solid 2: Master:
PR:
![image](https://github.com/PCSX2/pcsx2/assets/6278726/50376f35-c9ec-493d-9571-7fd8a9b3d7af)
Spider-Man 3: Master:
PR:
![image](https://github.com/PCSX2/pcsx2/assets/6278726/4c88c1c6-99ad-43a8-b804-a256530d98f1)