From d603bdca22ae2d285d416a83566514a7185b5850 Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Thu, 13 Jun 2013 19:16:51 +0000 Subject: [PATCH] (MESS) pc1512: Fixed regression. (nw) --- src/mess/machine/isa_cards.c | 1 + src/mess/machine/isa_wdxt_gen.c | 4 ++-- src/mess/machine/isa_wdxt_gen.h | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/mess/machine/isa_cards.c b/src/mess/machine/isa_cards.c index e7fe80af4d4..1f02ffa609b 100644 --- a/src/mess/machine/isa_cards.c +++ b/src/mess/machine/isa_cards.c @@ -20,6 +20,7 @@ SLOT_INTERFACE_START( pc_isa8_cards ) SLOT_INTERFACE("fdc_at", ISA8_FDC_AT) SLOT_INTERFACE("fdc_smc", ISA8_FDC_SMC) SLOT_INTERFACE("fdc_ps2", ISA8_FDC_PS2) + SLOT_INTERFACE("wdxt_gen", ISA8_WDXT_GEN) SLOT_INTERFACE("finalchs", ISA8_FINALCHS) SLOT_INTERFACE("hdc", ISA8_HDC) SLOT_INTERFACE("adlib", ISA8_ADLIB) diff --git a/src/mess/machine/isa_wdxt_gen.c b/src/mess/machine/isa_wdxt_gen.c index b9d534d5431..c750de186cf 100644 --- a/src/mess/machine/isa_wdxt_gen.c +++ b/src/mess/machine/isa_wdxt_gen.c @@ -62,7 +62,7 @@ Notes: // DEVICE DEFINITIONS //************************************************************************** -const device_type WDXT_GEN = &device_creator; +const device_type ISA8_WDXT_GEN = &device_creator; //------------------------------------------------- @@ -212,7 +212,7 @@ machine_config_constructor wdxt_gen_device::device_mconfig_additions() const //------------------------------------------------- wdxt_gen_device::wdxt_gen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, WDXT_GEN, "Western Digital WDXT-GEN (Amstrad PC1512/1640)", tag, owner, clock, "wdxt_gen", __FILE__), + : device_t(mconfig, ISA8_WDXT_GEN, "Western Digital WDXT-GEN (Amstrad PC1512/1640)", tag, owner, clock, "wdxt_gen", __FILE__), device_isa8_card_interface(mconfig, *this), m_maincpu(*this, WD1015_TAG), m_host(*this, WD11C00_17_TAG), diff --git a/src/mess/machine/isa_wdxt_gen.h b/src/mess/machine/isa_wdxt_gen.h index f38d8116853..de9f2fcf166 100644 --- a/src/mess/machine/isa_wdxt_gen.h +++ b/src/mess/machine/isa_wdxt_gen.h @@ -16,8 +16,8 @@ #pragma once -#ifndef __WDXT_GEN__ -#define __WDXT_GEN__ +#ifndef __ISA8_WDXT_GEN__ +#define __ISA8_WDXT_GEN__ #include "emu.h" @@ -81,6 +81,6 @@ private: // device type definition -extern const device_type WDXT_GEN; +extern const device_type ISA8_WDXT_GEN; #endif