diff options
author | 2012-09-03 15:00:20 +0000 | |
---|---|---|
committer | 2012-09-03 15:00:20 +0000 | |
commit | 071eb8de4be2099c033a0c49554d5b690f5e969b (patch) | |
tree | 329c0e27c2e33cb213894b157193d37e381135e5 /src/emu/sound/astrocde.c | |
parent | eb4aa7ad05d6ebc74bd88f19ca815e694734f9c7 (diff) |
Cleanup and some inheritance fixes (no whatsnew)
Diffstat (limited to 'src/emu/sound/astrocde.c')
-rw-r--r-- | src/emu/sound/astrocde.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/emu/sound/astrocde.c b/src/emu/sound/astrocde.c index dac4a27fc29..35b9f67efff 100644 --- a/src/emu/sound/astrocde.c +++ b/src/emu/sound/astrocde.c @@ -302,35 +302,6 @@ WRITE8_DEVICE_HANDLER( astrocade_sound_w ) chip->reg[offset & 7] = data; } - - -/************************************* - * - * Get/set info callbacks - * - *************************************/ - -DEVICE_GET_INFO( astrocade ) -{ - switch (state) - { - /* --- the following bits of info are returned as 64-bit signed integers --- */ - case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(astrocade_state); break; - - /* --- the following bits of info are returned as pointers to data or functions --- */ - case DEVINFO_FCT_START: info->start = DEVICE_START_NAME( astrocade ); break; - case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME( astrocade ); break; - - /* --- the following bits of info are returned as NULL-terminated strings --- */ - case DEVINFO_STR_NAME: strcpy(info->s, "Astrocade"); break; - case DEVINFO_STR_FAMILY: strcpy(info->s, "Bally"); break; - case DEVINFO_STR_VERSION: strcpy(info->s, "2.0"); break; - case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; - case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright Nicola Salmoria and the MAME Team"); break; - } -} - - const device_type ASTROCADE = &device_creator<astrocade_device>; astrocade_device::astrocade_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |