From ddb290d5f615019c33c42b8d94e5a5254cabcf33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 22 Oct 2016 13:13:17 +0200 Subject: NOTICE (TYPE NAME CONSOLIDATION) Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8 --- src/devices/sound/mas3507d.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/devices/sound/mas3507d.h') diff --git a/src/devices/sound/mas3507d.h b/src/devices/sound/mas3507d.h index 1244f152ede..844a09c47aa 100644 --- a/src/devices/sound/mas3507d.h +++ b/src/devices/sound/mas3507d.h @@ -24,7 +24,7 @@ class mas3507d_device : public device_t, public device_sound_interface { public: // construction/destruction - mas3507d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + mas3507d_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); int i2c_scl_r(); int i2c_sda_r(); @@ -42,23 +42,23 @@ private: bool i2c_scli, i2c_sclo, i2c_sdai, i2c_sdao; int i2c_bus_curbit; - UINT8 i2c_bus_curval; + uint8_t i2c_bus_curval; void i2c_nak(); - bool i2c_device_got_address(UINT8 address); - void i2c_device_got_byte(UINT8 byte); + bool i2c_device_got_address(uint8_t address); + void i2c_device_got_byte(uint8_t byte); void i2c_device_got_stop(); enum { UNDEFINED, CONTROL, DATA, BAD } i2c_subdest; enum { CMD_BAD, CMD_RUN, CMD_READ_CTRL, CMD_WRITE_REG, CMD_WRITE_MEM, CMD_READ_REG, CMD_READ_MEM } i2c_command; int i2c_bytecount; - UINT32 i2c_io_bank, i2c_io_adr, i2c_io_count, i2c_io_val; + uint32_t i2c_io_bank, i2c_io_adr, i2c_io_count, i2c_io_val; - void mem_write(int bank, UINT32 adr, UINT32 val); - void run_program(UINT32 adr); - void reg_write(UINT32 adr, UINT32 val); + void mem_write(int bank, uint32_t adr, uint32_t val); + void run_program(uint32_t adr); + void reg_write(uint32_t adr, uint32_t val); }; -- cgit v1.2.3-70-g09d2