From 1d65d9520fce4e372813c73e9c0d6279cd12ed06 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 1 May 2016 08:43:49 +0200 Subject: [PATCH] exidy fix (nw) --- scripts/target/mame/arcade.lua | 1 + src/mame/audio/targ.h | 5 +++++ src/mame/drivers/exidy.cpp | 1 + src/mame/includes/exidy.h | 3 --- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 src/mame/audio/targ.h diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index 27742b982a7..aa8c342b3f3 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -1665,6 +1665,7 @@ files { MAME_DIR .. "src/mame/audio/exidy.h", MAME_DIR .. "src/mame/video/exidy.cpp", MAME_DIR .. "src/mame/audio/targ.cpp", + MAME_DIR .. "src/mame/audio/targ.h", MAME_DIR .. "src/mame/drivers/exidy440.cpp", MAME_DIR .. "src/mame/includes/exidy440.h", MAME_DIR .. "src/mame/audio/exidy440.cpp", diff --git a/src/mame/audio/targ.h b/src/mame/audio/targ.h new file mode 100644 index 00000000000..079a5dd26c7 --- /dev/null +++ b/src/mame/audio/targ.h @@ -0,0 +1,5 @@ +// license:BSD-3-Clause +// copyright-holders:Aaron Giles + +MACHINE_CONFIG_EXTERN( spectar_audio ); +MACHINE_CONFIG_EXTERN( targ_audio ); diff --git a/src/mame/drivers/exidy.cpp b/src/mame/drivers/exidy.cpp index a29bb9518f9..ab9b5b3aecd 100644 --- a/src/mame/drivers/exidy.cpp +++ b/src/mame/drivers/exidy.cpp @@ -148,6 +148,7 @@ Fax 1982 6502 FXL, FLA #include "machine/6821pia.h" #include "audio/exidy.h" #include "includes/exidy.h" +#include "audio/targ.h" /************************************* diff --git a/src/mame/includes/exidy.h b/src/mame/includes/exidy.h index 9c825383c76..594a7ad9873 100644 --- a/src/mame/includes/exidy.h +++ b/src/mame/includes/exidy.h @@ -128,6 +128,3 @@ public: protected: virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; }; - -MACHINE_CONFIG_EXTERN( spectar_audio ); -MACHINE_CONFIG_EXTERN( targ_audio );