mirror of https://github.com/PCSX2/pcsx2.git
SPU2-X:
Fix the timestretch "Reset Defaults" Button to actually work (Winodws. Linux already works, I think.) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4436 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
2bc2464ca8
commit
f064b44f52
|
@ -98,6 +98,16 @@ BOOL CALLBACK SoundtouchCfg::DialogProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM
|
||||||
WriteSettings();
|
WriteSettings();
|
||||||
EndDialog(hWnd,0);
|
EndDialog(hWnd,0);
|
||||||
}
|
}
|
||||||
|
else if( wmId == IDC_RESET_DEFAULTS )
|
||||||
|
{
|
||||||
|
SequenceLenMS = 30;
|
||||||
|
SeekWindowMS = 20;
|
||||||
|
OverlapMS = 10;
|
||||||
|
|
||||||
|
SendDialogMsg( hWnd, IDC_SEQLEN_SLIDER, TBM_SETPOS, TRUE, SequenceLenMS );
|
||||||
|
SendDialogMsg( hWnd, IDC_SEEKWIN_SLIDER, TBM_SETPOS, TRUE, SeekWindowMS );
|
||||||
|
SendDialogMsg( hWnd, IDC_OVERLAP_SLIDER, TBM_SETPOS, TRUE, OverlapMS );
|
||||||
|
}
|
||||||
else if( wmId == IDCANCEL )
|
else if( wmId == IDCANCEL )
|
||||||
{
|
{
|
||||||
EndDialog(hWnd,0);
|
EndDialog(hWnd,0);
|
||||||
|
|
Loading…
Reference in New Issue