]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/generaltab.cpp
Fixed bug with missing BIOS on first boot of Virtual Jaguar.
[virtualjaguar] / src / gui / generaltab.cpp
index 8cc7441dde0835f1bee2e39057ca306e46a460cc..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);
 
@@ -50,7 +49,21 @@ GeneralTab::GeneralTab(QWidget * parent/*= 0*/): QWidget(parent)
        layout3->addLayout(layout1);
        layout3->addLayout(layout2);
 
-       setLayout(layout3);
+       QVBoxLayout * layout4 = new QVBoxLayout;
+       layout4->addLayout(layout3);
+
+       // 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);
 }
 
 GeneralTab::~GeneralTab()