From 764a3c96b99c8fbb6765d08ea68ec7fcc9bc6a1f Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Thu, 5 May 2011 12:40:49 +0200 Subject: Fix emulator audio. Audio support was compiled in, but never initialized because the hardware init function is in a different module and required HAS_AUDIO to be defined too. Change-Id: I57eccfb3a0abea86c29a9046f9f35d482a99c1f5 --- Makefile.target | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.target') diff --git a/Makefile.target b/Makefile.target index 8006c8d..7681dba 100644 --- a/Makefile.target +++ b/Makefile.target @@ -103,6 +103,9 @@ LOCAL_SRC_FILES += arm-dis.c LOCAL_CFLAGS += $(ZLIB_CFLAGS) endif +# required to ensure we properly initialize virtual audio hardware +LOCAL_CFLAGS += -DHAS_AUDIO + ifeq ($(EMULATOR_TARGET_ARCH),x86) HW_SOURCES += \ apic.c \ -- cgit v1.1