mirror of https://github.com/PCSX2/pcsx2.git
SPU2-X: handling text during restore defautls
Previously the sound touch configure caption box will still have the outdated value of the sliders when using the restore defaults function, update the caption text also during restore defaults. ( use the first slider value for caption since that lies closer to the restore default box )
This commit is contained in:
parent
7a69812b17
commit
f90eeb7861
|
@ -98,7 +98,7 @@ BOOL CALLBACK SoundtouchCfg::DialogProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM
|
|||
WriteSettings();
|
||||
EndDialog(hWnd,0);
|
||||
}
|
||||
else if( wmId == IDC_RESET_DEFAULTS )
|
||||
else if( wmId == IDC_RESET_DEFAULTS )
|
||||
{
|
||||
SequenceLenMS = 30;
|
||||
SeekWindowMS = 20;
|
||||
|
@ -107,6 +107,8 @@ BOOL CALLBACK SoundtouchCfg::DialogProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM
|
|||
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 );
|
||||
|
||||
AssignSliderValue((HWND)lParam, hWnd, SequenceLenMS);
|
||||
}
|
||||
else if( wmId == IDCANCEL )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue