summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/taitojc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/taitojc.h')
-rw-r--r--src/mame/includes/taitojc.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/taitojc.h b/src/mame/includes/taitojc.h
index f59a9c3c6b4..7f440ba9a5e 100644
--- a/src/mame/includes/taitojc.h
+++ b/src/mame/includes/taitojc.h
@@ -1,12 +1,10 @@
#include "video/poly.h"
-class taitojc_state : public driver_data_t
+class taitojc_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, taitojc_state(machine)); }
-
- taitojc_state(running_machine &machine)
- : driver_data_t(machine) { }
+ taitojc_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
int texture_x;
int texture_y;