]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/generaltab.cpp
Added 2nd controller to config dialog.
[virtualjaguar] / src / gui / generaltab.cpp
index 1a3414ff858038c951f6733ef2c8eabd256b33f4..777fbaf7f0725c8ec4b9f855b6e0b9b990cf1ea7 100644 (file)
 
 GeneralTab::GeneralTab(QWidget * parent/*= 0*/): QWidget(parent)
 {
-//     antialiasChk = new QCheckBox(tr("Use Qt's built-in antialiasing"));
-
 // I'm thinking we should scan the bios folder for the 5 known BIOSes, and
 // just present a radio button to choose between them...
+// (BIOS is built-in now...)
        QLabel * label1 = new QLabel("Boot ROM:");
        QLabel * label2 = new QLabel("CD Boot ROM:");
        QLabel * label3 = new QLabel("EEPROMs:");
@@ -35,14 +34,14 @@ GeneralTab::GeneralTab(QWidget * parent/*= 0*/): QWidget(parent)
        edit4->setPlaceholderText("Software path");
 
        QVBoxLayout * layout1 = new QVBoxLayout;
-       layout1->addWidget(label1);
-       layout1->addWidget(label2);
+//     layout1->addWidget(label1);
+//     layout1->addWidget(label2);
        layout1->addWidget(label3);
        layout1->addWidget(label4);
 
        QVBoxLayout * layout2 = new QVBoxLayout;
-       layout2->addWidget(edit1);
-       layout2->addWidget(edit2);
+//     layout2->addWidget(edit1);
+//     layout2->addWidget(edit2);
        layout2->addWidget(edit3);
        layout2->addWidget(edit4);
 
@@ -56,10 +55,12 @@ GeneralTab::GeneralTab(QWidget * parent/*= 0*/): QWidget(parent)
        // Checkboxes...
        useBIOS            = new QCheckBox(tr("Enable Jaguar BIOS"));
        useDSP             = new QCheckBox(tr("Enable DSP"));
+       useHostAudio       = new QCheckBox(tr("Enable audio playback (requires DSP)"));
        useUnknownSoftware = new QCheckBox(tr("Allow unknown software in file chooser"));
 
        layout4->addWidget(useBIOS);
        layout4->addWidget(useDSP);
+       layout4->addWidget(useHostAudio);
        layout4->addWidget(useUnknownSoftware);
 
        setLayout(layout4);