]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/mainwin.cpp
Fixed DSP/audio options to be unambiguous and consistent.
[virtualjaguar] / src / gui / mainwin.cpp
index c0a0f46e2c8dcbfca6b740ba731201affd683640..43996880984c307d46bfe1406dc45fe2c75fe83d 100644 (file)
@@ -455,12 +455,14 @@ void MainWin::Configure(void)
        QString before = vjs.ROMPath;
        QString alpineBefore = vjs.alpineROMPath;
        QString absBefore = vjs.absROMPath;
-       bool audioBefore = vjs.audioEnabled;
+//     bool audioBefore = vjs.audioEnabled;
+       bool audioBefore = vjs.DSPEnabled;
        dlg.UpdateVJSettings();
        QString after = vjs.ROMPath;
        QString alpineAfter = vjs.alpineROMPath;
        QString absAfter = vjs.absROMPath;
-       bool audioAfter = vjs.audioEnabled;
+//     bool audioAfter = vjs.audioEnabled;
+       bool audioAfter = vjs.DSPEnabled;
 
        bool allowOld = allowUnknownSoftware;
        //ick.
@@ -497,7 +499,8 @@ void MainWin::Configure(void)
                }
        }
 
-       // If the "Enable audio" checkbox changed, then we have to re-init the DAC...
+       // If the "Enable DSP" checkbox changed, then we have to re-init the DAC,
+       // since it's running in the host audio IRQ...
        if (audioBefore != audioAfter)
        {
                DACDone();