summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i2cmem.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/machine/i2cmem.h
parent333bff8de64dfaeb98134000412796b4fdef970b (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/machine/i2cmem.h')
-rw-r--r--src/devices/machine/i2cmem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/i2cmem.h b/src/devices/machine/i2cmem.h
index 797df97d70a..e739e7c963f 100644
--- a/src/devices/machine/i2cmem.h
+++ b/src/devices/machine/i2cmem.h
@@ -89,7 +89,7 @@ class i2cmem_device :
{
public:
// construction/destruction
- i2cmem_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock );
+ i2cmem_device( const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock );
static void set_address(device_t &device, int address) { downcast<i2cmem_device &>(device).m_slave_address = address; }
static void set_page_size(device_t &device, int page_size) { downcast<i2cmem_device &>(device).m_page_size = page_size; }
@@ -126,7 +126,7 @@ protected:
optional_memory_region m_region;
// internal state
- std::unique_ptr<UINT8[]> m_data;
+ std::unique_ptr<uint8_t[]> m_data;
int m_slave_address;
int m_page_size;
int m_data_size;
@@ -142,7 +142,7 @@ protected:
int m_shift;
int m_devsel;
int m_byteaddr;
- std::vector<UINT8> m_page;
+ std::vector<uint8_t> m_page;
int m_page_offset;
};