summaryrefslogtreecommitdiffstats
path: root/hw/pc.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-26 20:56:53 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-26 20:56:53 +0000
commitaaaa7df6250f28e1eb1d3311140d01cd03641412 (patch)
treed01d3200a0dab24110fd190d654a755f23d97234 /hw/pc.c
parent9d4fb82e3caf33f353cee7b71a238fb5dd8e5efb (diff)
downloadhqemu-aaaa7df6250f28e1eb1d3311140d01cd03641412.zip
hqemu-aaaa7df6250f28e1eb1d3311140d01cd03641412.tar.gz
added temporary option -enable-audio
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@768 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/hw/pc.c b/hw/pc.c
index d0fcb0f..261eda9 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -401,9 +401,11 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
DMA_init();
#ifndef _WIN32
- /* no audio supported yet for win32 */
- AUD_init();
- SB16_init();
+ if (audio_enabled) {
+ /* no audio supported yet for win32 */
+ AUD_init();
+ SB16_init();
+ }
#endif
floppy_controller = fdctrl_init(6, 2, 0, 0x3f0, fd_table);
OpenPOWER on IntegriCloud