From aaaa7df6250f28e1eb1d3311140d01cd03641412 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 26 Apr 2004 20:56:53 +0000 Subject: added temporary option -enable-audio git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@768 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/pc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'hw/pc.c') 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); -- cgit v1.1