summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/mitchell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/mitchell.h')
-rw-r--r--src/mame/includes/mitchell.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mame/includes/mitchell.h b/src/mame/includes/mitchell.h
index ba28a766dc0..18bf75e1561 100644
--- a/src/mame/includes/mitchell.h
+++ b/src/mame/includes/mitchell.h
@@ -4,12 +4,16 @@
*************************************************************************/
+#include "sound/okim6295.h"
+
class mitchell_state
{
public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mitchell_state(machine)); }
- mitchell_state(running_machine &machine) { }
+ mitchell_state(running_machine &machine)
+ : audiocpu(machine.device<cpu_device>("audiocpu")),
+ oki(machine.device<okim6295_device>("oki")) { }
/* memory pointers */
UINT8 * videoram;
@@ -34,8 +38,8 @@ public:
int keymatrix;
/* devices */
- running_device *audiocpu;
- running_device *oki;
+ cpu_device *audiocpu;
+ okim6295_device *oki;
};