]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Removed volume counter mode GUI checkbox.
authorToni Wilen <twilen@winuae.net>
Sat, 15 Apr 2023 18:08:23 +0000 (21:08 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 15 Apr 2023 18:08:23 +0000 (21:08 +0300)
od-win32/resources/winuae.rc
od-win32/win32gui.cpp

index d9018d9d460a086b6c70d789bf6f229183feaf4e..407bd4c92d2adc3a228850fadcc29bc1c9750cac 100644 (file)
@@ -436,7 +436,6 @@ BEGIN
     CONTROL         "Disabled, but emulated",IDC_SOUND1,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,13,58,107,10
     CONTROL         "Enabled",IDC_SOUND2,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,13,72,108,10
     CONTROL         "Automatic switching",IDC_SOUND_AUTO,"Button",BS_AUTOCHECKBOX | BS_LEFT | WS_GROUP | WS_TABSTOP,13,90,108,10
-    CONTROL         "Volume Counter mode",IDC_SOUND_VOLCNT,"Button",BS_AUTOCHECKBOX | BS_LEFT | NOT WS_VISIBLE | WS_GROUP | WS_TABSTOP,13,123,108,10
     GROUPBOX        "Volume",IDC_STATIC,139,28,255,69
     RTEXT           "Master",IDC_STATIC,160,47,51,10,SS_CENTERIMAGE
     CONTROL         "",IDC_SOUNDVOLUME,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,215,41,105,20
index 87d419f4a8a22ed48a49a375676ebb03e3a810fc..c41eff1ebbbe51c835110729b62cfe79230ef7ba 100644 (file)
@@ -13854,7 +13854,7 @@ static void values_to_sounddlg (HWND hDlg)
        CheckRadioButton (hDlg, IDC_SOUND0, IDC_SOUND2, which_button);
 
        CheckDlgButton (hDlg, IDC_SOUND_AUTO, workprefs.sound_auto);
-       CheckDlgButton(hDlg, IDC_SOUND_VOLCNT, workprefs.sound_volcnt);
+       //CheckDlgButton(hDlg, IDC_SOUND_VOLCNT, workprefs.sound_volcnt);
 
        if (workprefs.sound_maxbsiz < SOUND_BUFFER_MULTIPLIER)
                workprefs.sound_maxbsiz = 0;
@@ -13937,7 +13937,7 @@ static void values_from_sounddlg (HWND hDlg)
                : ischecked (hDlg, IDC_SOUND1) ? 1 : 3);
 
        workprefs.sound_auto = ischecked (hDlg, IDC_SOUND_AUTO);
-       workprefs.sound_volcnt = ischecked(hDlg, IDC_SOUND_VOLCNT);
+       //workprefs.sound_volcnt = ischecked(hDlg, IDC_SOUND_VOLCNT);
 
        idx = xSendDlgItemMessage (hDlg, IDC_SOUNDSTEREO, CB_GETCURSEL, 0, 0);
        if (idx != CB_ERR)