summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/calorie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/calorie.c')
-rw-r--r--src/mame/drivers/calorie.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/calorie.c b/src/mame/drivers/calorie.c
index fdce61470f6..edd3d55ddb6 100644
--- a/src/mame/drivers/calorie.c
+++ b/src/mame/drivers/calorie.c
@@ -83,13 +83,11 @@ Notes:
#include "sound/ay8910.h"
-class calorie_state : public driver_data_t
+class calorie_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, calorie_state(machine)); }
-
- calorie_state(running_machine &machine)
- : driver_data_t(machine) { }
+ calorie_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT8 * fg_ram;