mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
FPU: Remove FPU Compare Hack
FULL clamping mode fix games where hack was used, so is no longer required. This commit remove hack, adjust GameDB according to that change, and rename fpuFloat4 function to fpuFloat3. Last change is because fpuFloat3 was just wrapper for fpuFloat4 with added check for compare hack. Additionally fpuFloat2 was only function that called fpuFloat4 directly, so that one call was changed to fpuFloat3 to respect previous changes.
This commit is contained in:
1 parent
2e0baa7162
commit
0ad5680597
8 files changed
+16
-45
No files matched your search
@@ -279,7 +279,6 @@ int Pcsx2Config::GSOptions::GetVsync() const
|
||||
const wxChar *const tbl_GamefixNames[] =
|
||||
{
|
||||
L"VuAddSub",
|
||||
L"FpuCompare",
|
||||
L"FpuMul",
|
||||
L"FpuNegDiv",
|
||||
L"XGKick",
|
||||
@@ -342,7 +341,6 @@ void Pcsx2Config::GamefixOptions::Set( GamefixId id, bool enabled )
|
||||
switch(id)
|
||||
{
|
||||
case Fix_VuAddSub: VuAddSubHack = enabled; break;
|
||||
case Fix_FpuCompare: FpuCompareHack = enabled; break;
|
||||
case Fix_FpuMultiply: FpuMulHack = enabled; break;
|
||||
case Fix_FpuNegDiv: FpuNegDivHack = enabled; break;
|
||||
case Fix_XGKick: XgKickHack = enabled; break;
|
||||
@@ -368,7 +366,6 @@ bool Pcsx2Config::GamefixOptions::Get( GamefixId id ) const
|
||||
switch(id)
|
||||
{
|
||||
case Fix_VuAddSub: return VuAddSubHack;
|
||||
case Fix_FpuCompare: return FpuCompareHack;
|
||||
case Fix_FpuMultiply: return FpuMulHack;
|
||||
case Fix_FpuNegDiv: return FpuNegDivHack;
|
||||
case Fix_XGKick: return XgKickHack;
|
||||
@@ -394,7 +391,6 @@ void Pcsx2Config::GamefixOptions::LoadSave( IniInterface& ini )
|
||||
ScopedIniGroup path( ini, L"Gamefixes" );
|
||||
|
||||
IniBitBool( VuAddSubHack );
|
||||
IniBitBool( FpuCompareHack );
|
||||
IniBitBool( FpuMulHack );
|
||||
IniBitBool( FpuNegDivHack );
|
||||
IniBitBool( XgKickHack );
|
||||
|
||||
Reference in new issue
Block a user