SPU2-X: Realtime update for soundtouch configure

previously the soundtouch configure box required a total exit of the dialog to get the configure box value updated , now it's made to be done in an instant.
This commit is contained in:
Akash 2015-10-24 19:34:24 +05:30
parent e64bdbdb2c
commit 0cc4287b59
1 changed files with 2 additions and 0 deletions

View File

@ -344,6 +344,8 @@ BOOL CALLBACK ConfigProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
curpos = (int)res;
swprintf_s(temp,L"%d ms (avg)",curpos);
SetDlgItemText(hWnd,IDC_LATENCY_LABEL,temp);
bool soundtouch = sMode == 0;
EnableWindow(GetDlgItem(hWnd, IDC_OPEN_CONFIG_SOUNDTOUCH), soundtouch);
}
}
break;