some small changes

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@12 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
cottonvibes 2008-08-13 00:00:52 +00:00 committed by Gregory Hainaut
parent 324f747947
commit 05d6890ccf
2 changed files with 26 additions and 26 deletions

View File

@ -938,32 +938,34 @@ BEGIN
CONTROL 132,IDC_PS2SILVER_RECT,"Static",SS_BITMAP,0,167,70,74
END
IDD_HACKS DIALOGEX 0, 0, 350, 218
IDD_HACKS DIALOGEX 0, 0, 405, 251
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "PCSX2 Speed Hacks"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,119,197,50,14
PUSHBUTTON "Cancel",IDCANCEL,174,197,50,14
DEFPUSHBUTTON "OK",IDOK,146,230,50,14
PUSHBUTTON "Cancel",IDCANCEL,202,230,50,14
CONTROL "EE Sync Hack (x2) - Doubles the cycle rate of the EE.",IDC_SYNCHACK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,100,186,10
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,114,252,10
CONTROL "Disable All Overflow Checks - Doesn't check for overflow at all in the VU Recs.",IDC_OVERFLOWHACK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,53,264,10
CTEXT "These hacks will effect the speed of PCSX2 but possibly comprimise on compatability",IDC_HACKDESC,42,7,269,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,63,373,10
CTEXT "These hacks will effect the speed of PCSX2 but possibly comprimise on compatability",IDC_HACKDESC,7,7,391,8
CONTROL "Tighter SPU2 Sync ( FFXII vids) - slower, not usefull anymore",IDC_SOUNDHACK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,168,211,10
CONTROL "Denormals are Zero - Makes very small numbers be equal to zero. (Big speedup on Intel CPUs)",IDC_DENORMALS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,67,317,10
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,197,323,10
CONTROL "IOP Sync Hack (x2) - Doubles the cycle rate of the IOP.",IDC_SYNCHACK2,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,114,194,10
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,128,270,10
CONTROL "EE/IOP Sync Hack (x3) - Makes EE and IOP hacks triple the cycle rate (not recommended)",IDC_SYNCHACK3,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,126,309,10
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,142,359,10
CONTROL "Disable Extra Overflow Checks - Disables extra overflow checks used to help stop SPS.",IDC_OVERFLOWHACK_EXTRA,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,40,293,10
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,50,377,10
CONTROL "EE/IOP Fast Branches - Quick branching (very small speedup, use only when you need every fps)",IDC_FASTBRANCHES,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,154,327,10
LTEXT "",IDC_STATIC,78,93,181,8
LTEXT "If you have problems, disable all these and try again",IDC_STATIC,79,21,169,8
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,183,351,10
CTEXT "If you have problems, disable all these and try again",IDC_STATIC,7,22,391,8
GROUPBOX "Overflow and Underflow",IDC_STATIC,7,36,391,60
CONTROL "Denormals are Zero - Makes very small numbers be equal to zero. (Big speedup on Intel CPUs)",IDC_DENORMALS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,76,364,10
GROUPBOX "Sync Hacks",IDC_STATIC,7,101,391,59
GROUPBOX "Miscellaneous",IDC_STATIC,7,168,391,46
END
@ -984,9 +986,9 @@ BEGIN
IDD_HACKS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 343
RIGHTMARGIN, 398
TOPMARGIN, 7
BOTTOMMARGIN, 211
BOTTOMMARGIN, 244
END
END
#endif // APSTUDIO_INVOKED

View File

@ -1016,9 +1016,9 @@ const static PCSX2_ALIGNED16(u32 s_FloatMinMax[]) = {
0x7f7fffff, 0x7f7fffff, 0x7f7fffff, 0x7f7fffff,
0, 0, 0, 0 };
const static PCSX2_ALIGNED16(float s_fones[]) = { 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, -1.0f, -1.0f, -1.0f };
const static PCSX2_ALIGNED16(u32 s_mask[]) = {0x7fffff, 0x7fffff, 0x7fffff, 0x7fffff };
const static PCSX2_ALIGNED16(u32 s_expmask[]) = {0x7f800000, 0x7f800000, 0x7f800000, 0x7f800000};
const static PCSX2_ALIGNED16(float s_fones[]) = { 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, -1.0f, -1.0f, -1.0f };
const static PCSX2_ALIGNED16(u32 s_mask[]) = {0x7fffff, 0x7fffff, 0x7fffff, 0x7fffff };
const static PCSX2_ALIGNED16(u32 s_expmask[]) = {0x7f800000, 0x7f800000, 0x7f800000, 0x7f800000};
const static PCSX2_ALIGNED16(u32 s_overflowmask[]) = {0xf0000000, 0xf0000000, 0xf0000000, 0xf0000000};
@ -1322,8 +1322,8 @@ void ClampUnordered(int regd, int t0reg, int dosign)
// __asm ret
//}
const static PCSX2_ALIGNED16(u32 VU_Underflow_Mask1[4]) = {0x7f800000, 0x7f800000, 0x7f800000, 0x7f800000};
const static PCSX2_ALIGNED16(u32 VU_Underflow_Mask2[4]) = {0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff};
const static PCSX2_ALIGNED16(u32 VU_Underflow_Mask1[4]) = {0x7f800000, 0x7f800000, 0x7f800000, 0x7f800000};
const static PCSX2_ALIGNED16(u32 VU_Underflow_Mask2[4]) = {0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff};
const static PCSX2_ALIGNED16(u32 VU_Zero_Mask[4]) = {0x00000000, 0x00000000, 0x00000000, 0x00000000};
const static PCSX2_ALIGNED16(u32 VU_Zero_Helper_Mask[4]) = {0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff};
const static PCSX2_ALIGNED16(u32 VU_Signed_Zero_Mask[4]) = {0x80000000, 0x80000000, 0x80000000, 0x80000000};
@ -4695,14 +4695,13 @@ void recVUMI_ILW(VURegs *VU, int info)
int ftreg;
s16 imm, off;
if ( _Ft_ == 0 ) return;
if ( ( _Ft_ == 0 ) || ( _X_Y_Z_W == 0 ) ) return;
imm = ( VU->code & 0x400) ? ( VU->code & 0x3ff) | 0xfc00 : ( VU->code & 0x3ff);
if (_X) off = 0;
else if (_Y) off = 4;
else if (_Z) off = 8;
else if (_W) off = 12;
else { SysPrintf("Problem in recVUMI_ILW!!"); off=0; }
ADD_VI_NEEDED(_Fs_);
ftreg = ALLOCVI(_Ft_, MODE_WRITE);
@ -4751,13 +4750,12 @@ void recVUMI_ILWR( VURegs *VU, int info )
{
int off, ftreg;
if ( _Ft_ == 0 ) return;
if ( ( _Ft_ == 0 ) || ( _X_Y_Z_W == 0 ) ) return;
if (_X) off = 0;
else if (_Y) off = 4;
else if (_Z) off = 8;
else if (_W) off = 12;
else { SysPrintf("Problem in recVUMI_ILWR!!"); off=0; }
ADD_VI_NEEDED(_Fs_);
ftreg = ALLOCVI(_Ft_, MODE_WRITE);