New "nothing" button in speedhacks.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@373 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
ramapcsx2 2008-12-02 11:48:54 +00:00 committed by Gregory Hainaut
parent 78d68dd714
commit 788dcd7e01
3 changed files with 27 additions and 9 deletions

View File

@ -972,7 +972,7 @@ BOOL APIENTRY HacksProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
EndDialog(hDlg, FALSE);
break;
case IDBUTTON1: //"compatibility" setting
case IDBUTTON1: //"stable" setting
CheckDlgButton(hDlg, IDC_VU_OVERFLOWHACK, FALSE);
CheckDlgButton(hDlg, IDC_FPU_OVERFLOWHACK, FALSE);
CheckDlgButton(hDlg, IDC_DENORMALS, TRUE);
@ -981,8 +981,8 @@ BOOL APIENTRY HacksProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
CheckDlgButton(hDlg, IDC_SYNCHACK, FALSE);
CheckDlgButton(hDlg, IDC_SYNCHACK2, FALSE);
CheckDlgButton(hDlg, IDC_SYNCHACK3, FALSE);
//CheckDlgButton(hDlg, IDC_SOUNDHACK, TRUE);
//CheckDlgButton(hDlg, IDC_ESCHACK, TRUE);
//CheckDlgButton(hDlg, IDC_SOUNDHACK, TRUE); //obsolete
//CheckDlgButton(hDlg, IDC_ESCHACK, TRUE); //no need to change
HacksChecked( hDlg );
HacksInit( hDlg );
@ -997,8 +997,24 @@ BOOL APIENTRY HacksProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
CheckDlgButton(hDlg, IDC_SYNCHACK, TRUE);
CheckDlgButton(hDlg, IDC_SYNCHACK2, TRUE);
CheckDlgButton(hDlg, IDC_SYNCHACK3, FALSE);
//CheckDlgButton(hDlg, IDC_SOUNDHACK, FALSE);
//CheckDlgButton(hDlg, IDC_ESCHACK, TRUE);
//CheckDlgButton(hDlg, IDC_SOUNDHACK, FALSE); //obsolete
//CheckDlgButton(hDlg, IDC_ESCHACK, TRUE); //no need to change
HacksChecked( hDlg );
HacksInit( hDlg );
break;
case IDBUTTON3: //"nothing" setting
CheckDlgButton(hDlg, IDC_VU_OVERFLOWHACK, FALSE);
CheckDlgButton(hDlg, IDC_FPU_OVERFLOWHACK, FALSE);
CheckDlgButton(hDlg, IDC_DENORMALS, FALSE);
CheckDlgButton(hDlg, IDC_VU_FLAGS, FALSE);
CheckDlgButton(hDlg, IDC_FPU_FLAGS, FALSE);
CheckDlgButton(hDlg, IDC_SYNCHACK, FALSE);
CheckDlgButton(hDlg, IDC_SYNCHACK2, FALSE);
CheckDlgButton(hDlg, IDC_SYNCHACK3, FALSE);
//CheckDlgButton(hDlg, IDC_SOUNDHACK, FALSE); //obsolete
//CheckDlgButton(hDlg, IDC_ESCHACK, TRUE); //no need to change
HacksChecked( hDlg );
HacksInit( hDlg );

View File

@ -1045,8 +1045,8 @@ STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSM
CAPTION "PCSX2 Speed Hacks"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,205,293,50,14
PUSHBUTTON "Cancel",IDCANCEL,261,293,50,14
DEFPUSHBUTTON "OK",IDOK,303,293,50,14
PUSHBUTTON "Cancel",IDCANCEL,359,293,50,14
CONTROL "EE Sync Hack (x2) - Doubles the cycle rate of the EE. ( Big Speedup in most games! )",IDC_SYNCHACK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,162,418,10
CONTROL "Disable VU Overflow Checks - *Checked = Disables overflow checks. ( Speedup! ) *Greyed = Extra overflow checks. ( Helps SPS, Slow! )",IDC_VU_OVERFLOWHACK,
@ -1073,8 +1073,9 @@ BEGIN
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,126,414,10
CONTROL "Escape Hack - Use Esc key to fully exit PCSX2.",IDC_ESCHACK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,244,421,10
PUSHBUTTON "Compatibility",IDBUTTON1,15,293,50,14
PUSHBUTTON "Speed",IDBUTTON2,73,293,50,14
PUSHBUTTON "Stable",IDBUTTON1,74,293,50,14
PUSHBUTTON "Speed",IDBUTTON2,133,293,50,14
PUSHBUTTON "Nothing",IDBUTTON3,15,293,50,14
END

View File

@ -5,6 +5,7 @@
#define IDDEFAULT 3
#define IDBUTTON1 3
#define IDBUTTON2 4
#define IDBUTTON3 6
#define IDR_MENU 101
#define IDD_CONFIG 101
#define IDD_MCDCONF 102