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/lynx.c | |
parent | eb4aa7ad05d6ebc74bd88f19ca815e694734f9c7 (diff) |
Cleanup and some inheritance fixes (no whatsnew)
Diffstat (limited to 'src/mess/audio/lynx.c')
-rw-r--r-- | src/mess/audio/lynx.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/mess/audio/lynx.c b/src/mess/audio/lynx.c index 349b2637018..69c75c22f34 100644 --- a/src/mess/audio/lynx.c +++ b/src/mess/audio/lynx.c @@ -501,41 +501,6 @@ static DEVICE_START(lynx2_sound) } -DEVICE_GET_INFO( lynx_sound ) -{ - switch (state) - { - /* --- the following bits of info are returned as 64-bit signed integers --- */ - case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(lynx_sound_state); break; - - /* --- the following bits of info are returned as pointers to data or functions --- */ - case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(lynx_sound); break; - case DEVINFO_FCT_RESET: info->start = DEVICE_RESET_NAME(lynx_sound); break; - - /* --- the following bits of info are returned as NULL-terminated strings --- */ - case DEVINFO_STR_NAME: strcpy(info->s, "Mikey"); break; - case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; - } -} - - -DEVICE_GET_INFO( lynx2_sound ) -{ - switch (state) - { - /* --- the following bits of info are returned as 64-bit signed integers --- */ - case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(lynx_sound_state); break; - - /* --- the following bits of info are returned as pointers to data or functions --- */ - case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(lynx2_sound); break; - case DEVINFO_FCT_RESET: info->start = DEVICE_RESET_NAME(lynx_sound); break; - - /* --- the following bits of info are returned as NULL-terminated strings --- */ - case DEVINFO_STR_NAME: strcpy(info->s, "Mikey (Lynx II)"); break; - case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; - } -} - const device_type LYNX = &device_creator<lynx_sound_device>; lynx_sound_device::lynx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |