From d726f59d83fbd9e5b381c90a523fd4f89b3b0107 Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Wed, 25 Dec 2019 13:59:22 +0100 Subject: [PATCH] Hide SoundBlaster autoexec line --- src/hardware/sblaster.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/hardware/sblaster.cpp b/src/hardware/sblaster.cpp index 43a0a892..c869903a 100644 --- a/src/hardware/sblaster.cpp +++ b/src/hardware/sblaster.cpp @@ -1706,11 +1706,12 @@ public: // Create set blaster line ostringstream temp; - temp << "SET BLASTER=A" << setw(3)<< hex << sb.hw.base - << " I" << dec << (Bitu)sb.hw.irq << " D" << (Bitu)sb.hw.dma8; - if (sb.type==SBT_16) temp << " H" << (Bitu)sb.hw.dma16; + temp << "@SET BLASTER=A" << setw(3) << hex << sb.hw.base << dec + << " I" << (Bitu)sb.hw.irq + << " D" << (Bitu)sb.hw.dma8; + if (sb.type == SBT_16) + temp << " H" << (Bitu)sb.hw.dma16; temp << " T" << static_cast(sb.type) << ends; - autoexecline.Install(temp.str()); /* Soundblaster midi interface */