diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-26 20:56:53 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-26 20:56:53 +0000 |
commit | aaaa7df6250f28e1eb1d3311140d01cd03641412 (patch) | |
tree | d01d3200a0dab24110fd190d654a755f23d97234 /hw/pc.c | |
parent | 9d4fb82e3caf33f353cee7b71a238fb5dd8e5efb (diff) | |
download | qemu-aaaa7df6250f28e1eb1d3311140d01cd03641412.zip qemu-aaaa7df6250f28e1eb1d3311140d01cd03641412.tar.gz qemu-aaaa7df6250f28e1eb1d3311140d01cd03641412.tar.bz2 |
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.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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); |