diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/bus/a2bus/a2eramworks3.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
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
Diffstat (limited to 'src/devices/bus/a2bus/a2eramworks3.cpp')
-rw-r--r-- | src/devices/bus/a2bus/a2eramworks3.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/a2bus/a2eramworks3.cpp b/src/devices/bus/a2bus/a2eramworks3.cpp index b7d6897b82d..c0a0e2c016d 100644 --- a/src/devices/bus/a2bus/a2eramworks3.cpp +++ b/src/devices/bus/a2bus/a2eramworks3.cpp @@ -28,14 +28,14 @@ const device_type A2EAUX_RAMWORKS3 = &device_creator<a2eaux_ramworks3_device>; // LIVE DEVICE //************************************************************************** -a2eaux_ramworks3_device::a2eaux_ramworks3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +a2eaux_ramworks3_device::a2eaux_ramworks3_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, A2EAUX_RAMWORKS3, "Applied Engineering RamWorks III", tag, owner, clock, "a2erwks3", __FILE__), device_a2eauxslot_card_interface(mconfig, *this), m_bank(0) { } -a2eaux_ramworks3_device::a2eaux_ramworks3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +a2eaux_ramworks3_device::a2eaux_ramworks3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_a2eauxslot_card_interface(mconfig, *this), m_bank(0) { @@ -57,22 +57,22 @@ void a2eaux_ramworks3_device::device_reset() m_bank = 0; } -UINT8 a2eaux_ramworks3_device::read_auxram(UINT16 offset) +uint8_t a2eaux_ramworks3_device::read_auxram(uint16_t offset) { return m_ram[offset+m_bank]; } -void a2eaux_ramworks3_device::write_auxram(UINT16 offset, UINT8 data) +void a2eaux_ramworks3_device::write_auxram(uint16_t offset, uint8_t data) { m_ram[offset+m_bank] = data; } -UINT8 *a2eaux_ramworks3_device::get_vram_ptr() +uint8_t *a2eaux_ramworks3_device::get_vram_ptr() { return &m_ram[0]; } -UINT8 *a2eaux_ramworks3_device::get_auxbank_ptr() +uint8_t *a2eaux_ramworks3_device::get_auxbank_ptr() { return &m_ram[m_bank]; } @@ -90,7 +90,7 @@ UINT8 *a2eaux_ramworks3_device::get_auxbank_ptr() However, the software will recognize and correctly use a configuration in which all of banks 00-7F are populated for a total of 8 megabytes. So that's what we do. */ -void a2eaux_ramworks3_device::write_c07x(address_space &space, UINT8 offset, UINT8 data) +void a2eaux_ramworks3_device::write_c07x(address_space &space, uint8_t offset, uint8_t data) { // write to C073? if (offset == 3) |