From fbc449fa6b6c0eff79b1c1cce2c914675d9f3586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Sat, 3 Aug 2013 23:03:50 +0000 Subject: [PATCH] small DEVICE_RESET cleanups (nw) --- src/emu/machine/tms9901.c | 2 +- src/emu/machine/tms9902.c | 2 +- src/emu/sound/discrete.c | 2 +- src/emu/sound/es5506.c | 6 ------ src/mess/machine/68561mpcc.c | 2 +- src/mess/machine/8530scc.c | 2 +- src/mess/machine/atarifdc.c | 5 ----- src/mess/machine/beta.c | 9 --------- src/mess/machine/teleprinter.c | 2 +- src/mess/machine/tms5501.c | 2 +- 10 files changed, 7 insertions(+), 27 deletions(-) diff --git a/src/emu/machine/tms9901.c b/src/emu/machine/tms9901.c index a50f0702342..f53238a369f 100644 --- a/src/emu/machine/tms9901.c +++ b/src/emu/machine/tms9901.c @@ -493,7 +493,7 @@ void tms9901_device::device_stop(void) } /*------------------------------------------------- - DEVICE_RESET( tms9901 ) + device_reset - device-specific reset -------------------------------------------------*/ void tms9901_device::device_reset(void) diff --git a/src/emu/machine/tms9902.c b/src/emu/machine/tms9902.c index f3ed5160e86..958be808ea7 100644 --- a/src/emu/machine/tms9902.c +++ b/src/emu/machine/tms9902.c @@ -810,7 +810,7 @@ void tms9902_device::device_stop() } /*------------------------------------------------- - DEVICE_RESET( tms9902 ) + device_reset - device-specific reset -------------------------------------------------*/ void tms9902_device::device_reset() diff --git a/src/emu/sound/discrete.c b/src/emu/sound/discrete.c index 9af047786d9..e1281dfb853 100644 --- a/src/emu/sound/discrete.c +++ b/src/emu/sound/discrete.c @@ -28,7 +28,7 @@ * * DEVICE_START(discrete) - Read Node list, initialise & reset * device_stop - Shutdown discrete sound system - * DEVICE_RESET(discrete) - Put sound system back to time 0 + * device_reset - Put sound system back to time 0 * discrete_stream_update() - This does the real update to the sim * ************************************************************************/ diff --git a/src/emu/sound/es5506.c b/src/emu/sound/es5506.c index 442e97bf733..4be2087471b 100644 --- a/src/emu/sound/es5506.c +++ b/src/emu/sound/es5506.c @@ -1044,11 +1044,6 @@ static DEVICE_STOP( es5506 ) } -static DEVICE_RESET( es5506 ) -{ -} - - /********************************************************************************************** @@ -2199,7 +2194,6 @@ void es5506_device::device_start() void es5506_device::device_reset() { - DEVICE_RESET_NAME( es5506 )(this); } //------------------------------------------------- diff --git a/src/mess/machine/68561mpcc.c b/src/mess/machine/68561mpcc.c index 6558e801215..3d90737c9bc 100644 --- a/src/mess/machine/68561mpcc.c +++ b/src/mess/machine/68561mpcc.c @@ -177,7 +177,7 @@ void mpcc68561_t::device_start() /*------------------------------------------------- - DEVICE_RESET( mpcc68561 ) + device_reset - device-specific reset -------------------------------------------------*/ void mpcc68561_t::device_reset() { diff --git a/src/mess/machine/8530scc.c b/src/mess/machine/8530scc.c index 6c6a25b92dc..840af49496e 100644 --- a/src/mess/machine/8530scc.c +++ b/src/mess/machine/8530scc.c @@ -174,7 +174,7 @@ void scc8530_t::device_start() /*------------------------------------------------- - DEVICE_RESET( scc8530 ) + device_reset - device-specific reset -------------------------------------------------*/ void scc8530_t::device_reset() { diff --git a/src/mess/machine/atarifdc.c b/src/mess/machine/atarifdc.c index 3a922a5c7e0..9723d849516 100644 --- a/src/mess/machine/atarifdc.c +++ b/src/mess/machine/atarifdc.c @@ -809,10 +809,6 @@ static DEVICE_START(atari_fdc) } } -static DEVICE_RESET(atari_fdc) -{ -} - const device_type ATARI_FDC = &device_creator; atari_fdc_device::atari_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) @@ -846,7 +842,6 @@ void atari_fdc_device::device_start() void atari_fdc_device::device_reset() { - DEVICE_RESET_NAME( atari_fdc )(this); } //------------------------------------------------- diff --git a/src/mess/machine/beta.c b/src/mess/machine/beta.c index d68292d372f..0ae7b0ff1a5 100644 --- a/src/mess/machine/beta.c +++ b/src/mess/machine/beta.c @@ -319,14 +319,6 @@ static DEVICE_START( beta_disk ) beta->wd179x = device->machine().device(tempstring); } -/*------------------------------------------------- - DEVICE_RESET( beta_disk ) --------------------------------------------------*/ - -static DEVICE_RESET( beta_disk ) -{ -} - const device_type BETA_DISK = &device_creator; beta_disk_device::beta_disk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) @@ -350,7 +342,6 @@ void beta_disk_device::device_start() void beta_disk_device::device_reset() { - DEVICE_RESET_NAME( beta_disk )(this); } //------------------------------------------------- diff --git a/src/mess/machine/teleprinter.c b/src/mess/machine/teleprinter.c index 13827883f2b..f35a1c57357 100644 --- a/src/mess/machine/teleprinter.c +++ b/src/mess/machine/teleprinter.c @@ -225,7 +225,7 @@ machine_config_constructor teleprinter_device::device_mconfig_additions() const } /*------------------------------------------------- - DEVICE_RESET( teleprinter ) + device_reset - device-specific reset -------------------------------------------------*/ void teleprinter_device::device_reset() diff --git a/src/mess/machine/tms5501.c b/src/mess/machine/tms5501.c index daeab25b888..d53557637b1 100644 --- a/src/mess/machine/tms5501.c +++ b/src/mess/machine/tms5501.c @@ -215,7 +215,7 @@ void tms5501_device::timer_reload(int timer) /*------------------------------------------------- - DEVICE_RESET( tms5501 ) + device_reset - device-specific reset -------------------------------------------------*/ void tms5501_device::device_reset()