summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/kickgoal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/kickgoal.h')
-rw-r--r--src/mame/includes/kickgoal.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mame/includes/kickgoal.h b/src/mame/includes/kickgoal.h
index 0e6f0ec6124..3aaaf2bdd6c 100644
--- a/src/mame/includes/kickgoal.h
+++ b/src/mame/includes/kickgoal.h
@@ -4,12 +4,17 @@
*************************************************************************/
+#include "sound/okim6295.h"
+#include "machine/eeprom.h"
+
class kickgoal_state
{
public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, kickgoal_state(machine)); }
- kickgoal_state(running_machine &machine) { }
+ kickgoal_state(running_machine &machine)
+ : adpcm(machine.device<okim6295_device>("oki")),
+ eeprom(machine.device<eeprom_device>("eeprom")) { }
/* memory pointers */
UINT16 * fgram;
@@ -30,8 +35,8 @@ public:
UINT16 m6295_key_delay;
/* devices */
- running_device *adpcm;
- running_device *eeprom;
+ okim6295_device *adpcm;
+ eeprom_device *eeprom;
};