summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/huc6261.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/video/huc6261.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/video/huc6261.h')
-rw-r--r--src/devices/video/huc6261.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/video/huc6261.h b/src/devices/video/huc6261.h
index ab04cd01c22..a6f5b0f55a2 100644
--- a/src/devices/video/huc6261.h
+++ b/src/devices/video/huc6261.h
@@ -31,7 +31,7 @@ class huc6261_device : public device_t,
{
public:
// construction/destruction
- huc6261_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ huc6261_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
static void set_vdc1_tag(device_t &device, const char *tag) { downcast<huc6261_device &>(device).m_huc6270_a_tag = tag; }
static void set_vdc2_tag(device_t &device, const char *tag) { downcast<huc6261_device &>(device).m_huc6270_b_tag = tag; }
@@ -40,7 +40,7 @@ public:
DECLARE_READ16_MEMBER( read );
DECLARE_WRITE16_MEMBER( write );
- inline UINT32 yuv2rgb(UINT32 yuv);
+ inline uint32_t yuv2rgb(uint32_t yuv);
protected:
// device-level overrides
@@ -58,20 +58,20 @@ private:
int m_last_v;
int m_height;
- UINT16 m_palette[512];
- UINT16 m_address;
- UINT16 m_palette_latch;
- UINT16 m_register;
- UINT16 m_control;
- UINT8 m_priority[7];
+ uint16_t m_palette[512];
+ uint16_t m_address;
+ uint16_t m_palette_latch;
+ uint16_t m_register;
+ uint16_t m_control;
+ uint8_t m_priority[7];
- UINT8 m_pixels_per_clock; /* Number of pixels to output per colour clock */
- UINT16 m_pixel_data;
- UINT8 m_pixel_clock;
+ uint8_t m_pixels_per_clock; /* Number of pixels to output per colour clock */
+ uint16_t m_pixel_data;
+ uint8_t m_pixel_clock;
emu_timer *m_timer;
std::unique_ptr<bitmap_rgb32> m_bmp;
- INT32 m_uv_lookup[65536][3];
+ int32_t m_uv_lookup[65536][3];
};