diff options
author | Aaron Giles <aaron@aarongiles.com> | 2010-12-31 21:42:55 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2010-12-31 21:42:55 +0000 |
commit | 3b41606ca0c02056604a55a7b1f5165e80bc11fb (patch) | |
tree | 415d338c92efb4c7f1d4922255060f279d1d4fa2 /src/emu/cpu/mcs51/mcs51.h | |
parent | 2ca38fad3e665d2e4e0212263a07819d36f4ba7f (diff) |
running_device -> device_t
They both already existed. No sense in having two names for the
same object type.
Diffstat (limited to 'src/emu/cpu/mcs51/mcs51.h')
-rw-r--r-- | src/emu/cpu/mcs51/mcs51.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/mcs51/mcs51.h b/src/emu/cpu/mcs51/mcs51.h index 3c2c51e55f3..dbc8ccaa7f8 100644 --- a/src/emu/cpu/mcs51/mcs51.h +++ b/src/emu/cpu/mcs51/mcs51.h @@ -89,11 +89,11 @@ struct _ds5002fp_config FUNCTION PROTOTYPES ***************************************************************************/ -typedef void (*mcs51_serial_tx_func)(running_device *device, int data); -typedef int (*mcs51_serial_rx_func)(running_device *device); +typedef void (*mcs51_serial_tx_func)(device_t *device, int data); +typedef int (*mcs51_serial_rx_func)(device_t *device); -extern void i8051_set_serial_tx_callback(running_device *device, mcs51_serial_tx_func tx_func); -extern void i8051_set_serial_rx_callback(running_device *device, mcs51_serial_rx_func rx_func); +extern void i8051_set_serial_tx_callback(device_t *device, mcs51_serial_tx_func tx_func); +extern void i8051_set_serial_rx_callback(device_t *device, mcs51_serial_rx_func rx_func); /* variants with no internal rom and 128 byte internal memory */ DECLARE_LEGACY_CPU_DEVICE(I8031, i8031); |