diff options
author | 2012-09-03 15:00:20 +0000 | |
---|---|---|
committer | 2012-09-03 15:00:20 +0000 | |
commit | 071eb8de4be2099c033a0c49554d5b690f5e969b (patch) | |
tree | 329c0e27c2e33cb213894b157193d37e381135e5 /src/mess/audio/upd1771.c | |
parent | eb4aa7ad05d6ebc74bd88f19ca815e694734f9c7 (diff) |
Cleanup and some inheritance fixes (no whatsnew)
Diffstat (limited to 'src/mess/audio/upd1771.c')
-rw-r--r-- | src/mess/audio/upd1771.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mess/audio/upd1771.c b/src/mess/audio/upd1771.c index a082db8fdd2..ac471cfeb29 100644 --- a/src/mess/audio/upd1771.c +++ b/src/mess/audio/upd1771.c @@ -459,27 +459,6 @@ static DEVICE_STOP( upd1771c ) } -DEVICE_GET_INFO( upd1771c ) -{ - switch (state) - { - /* --- the following bits of info are returned as 64-bit signed integers --- */ - case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(upd1771_state); break; - - /* --- the following bits of info are returned as pointers to functions --- */ - case DEVINFO_FCT_START: info->start = DEVICE_START_NAME( upd1771c ); break; - case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME( upd1771c ); break; - case DEVINFO_FCT_STOP: info->stop = DEVICE_STOP_NAME( upd1771c ); break; - - /* --- the following bits of info are returned as NULL-terminated strings --- */ - case DEVINFO_STR_NAME: strcpy(info->s, "NEC uPD1771C 017"); break; - case DEVINFO_STR_FAMILY: strcpy(info->s, "NEC uPD1771"); break; - case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; - case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; - case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright the MAME & MESS Teams"); break; - } -} - const device_type UPD1771C = &device_creator<upd1771c_device>; upd1771c_device::upd1771c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |