mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
added temporary option -enable-audio
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@768 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9d4fb82e3c
commit
aaaa7df625
3 changed files with 18 additions and 6 deletions
8
hw/pc.c
8
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue