summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segas32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/segas32.cpp')
-rw-r--r--src/mame/drivers/segas32.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/mame/drivers/segas32.cpp b/src/mame/drivers/segas32.cpp
index d890f22ad09..30786ef711b 100644
--- a/src/mame/drivers/segas32.cpp
+++ b/src/mame/drivers/segas32.cpp
@@ -524,18 +524,22 @@ orunners: Interleaved with the dj and << >> buttons is the data the drives the
****************************************************************************/
#include "emu.h"
+#include "includes/segas32.h"
+
#include "cpu/z80/z80.h"
#include "cpu/v60/v60.h"
#include "cpu/nec/v25.h"
-#include "rendlay.h"
-#include "includes/segas32.h"
#include "machine/eepromser.h"
#include "sound/2612intf.h"
#include "sound/rf5c68.h"
+#include "rendlay.h"
+#include "speaker.h"
+
#include "radr.lh"
-const device_type SEGA_S32_PCB = &device_creator<segas32_state>;
+
+const device_type SEGA_S32_PCB = device_creator<segas32_state>;
segas32_state::segas32_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, SEGA_S32_PCB, "Sega System 32 PCB", tag, owner, clock, "segas32_pcb", __FILE__),
@@ -2512,7 +2516,7 @@ static MACHINE_CONFIG_FRAGMENT( system32 )
MCFG_S32COMM_ADD("s32comm")
MACHINE_CONFIG_END
-const device_type SEGA_S32_REGULAR_DEVICE = &device_creator<segas32_regular_state>;
+const device_type SEGA_S32_REGULAR_DEVICE = device_creator<segas32_regular_state>;
segas32_regular_state::segas32_regular_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: segas32_state(mconfig, tag, owner, clock)
@@ -2536,7 +2540,7 @@ static MACHINE_CONFIG_FRAGMENT( system32_v25 )
MCFG_V25_CONFIG(ga2_v25_opcode_table)
MACHINE_CONFIG_END
-const device_type SEGA_S32_V25_DEVICE = &device_creator<segas32_v25_state>;
+const device_type SEGA_S32_V25_DEVICE = device_creator<segas32_v25_state>;
segas32_v25_state::segas32_v25_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: segas32_state(mconfig, tag, owner, clock)
@@ -2599,7 +2603,7 @@ static MACHINE_CONFIG_FRAGMENT( multi32 )
MACHINE_CONFIG_END
-const device_type SEGA_MULTI32_DEVICE = &device_creator<sega_multi32_state>;
+const device_type SEGA_MULTI32_DEVICE = device_creator<sega_multi32_state>;
sega_multi32_state::sega_multi32_state(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: segas32_state(mconfig, tag, owner, clock)