summaryrefslogtreecommitdiffstats
path: root/hw/audio/fmopl.c
diff options
context:
space:
mode:
authorJuan Quintela2017-04-26 00:37:17 +0200
committerGerd Hoffmann2017-05-04 09:16:03 +0200
commit882ab9d615e438b1298cda90193f81624dbbd632 (patch)
tree72d45ca156c78edd7a32beb9754865c789eac67f /hw/audio/fmopl.c
parentaudio: Remove YM3526 support (diff)
downloadqemu-882ab9d615e438b1298cda90193f81624dbbd632.tar.gz
qemu-882ab9d615e438b1298cda90193f81624dbbd632.tar.xz
qemu-882ab9d615e438b1298cda90193f81624dbbd632.zip
audio: YM3812 was always defined
So, remove the ifdefs. Signed-off-by: Juan Quintela <quintela@redhat.com> Message-id: 20170425223739.6703-5-quintela@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/audio/fmopl.c')
-rw-r--r--hw/audio/fmopl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c
index 1e05efca8a..282662a858 100644
--- a/hw/audio/fmopl.c
+++ b/hw/audio/fmopl.c
@@ -30,8 +30,6 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#define HAS_YM3812 1
-
#include "qemu/osdep.h"
#include <math.h>
//#include "driver.h" /* use M.A.M.E. */
@@ -981,7 +979,6 @@ static void OPL_UnLockTable(void)
OPLCloseTable();
}
-#if BUILD_YM3812
/*******************************************************************************/
/* YM3812 local section */
/*******************************************************************************/
@@ -1044,7 +1041,6 @@ void YM3812UpdateOne(FM_OPL *OPL, INT16 *buffer, int length)
}
#endif
}
-#endif /* BUILD_YM3812 */
/* ---------- reset one of chip ---------- */
void OPLResetChip(FM_OPL *OPL)