summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/victor9k.cpp
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/mame/drivers/victor9k.cpp
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/mame/drivers/victor9k.cpp')
-rw-r--r--src/mame/drivers/victor9k.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/victor9k.cpp b/src/mame/drivers/victor9k.cpp
index 04314fb46ab..cea5dcdcb0a 100644
--- a/src/mame/drivers/victor9k.cpp
+++ b/src/mame/drivers/victor9k.cpp
@@ -113,7 +113,7 @@ public:
required_device<rs232_port_device> m_rs232b;
required_device<palette_device> m_palette;
required_memory_region m_rom;
- required_shared_ptr<UINT8> m_video_ram;
+ required_shared_ptr<uint8_t> m_video_ram;
virtual void machine_start() override;
virtual void machine_reset() override;
@@ -257,9 +257,9 @@ MC6845_UPDATE_ROW( victor9k_state::crtc_update_row )
for (int sx = 0; sx < x_count; sx++)
{
- UINT16 dc = (m_video_ram[aa + 1] << 8) | m_video_ram[aa];
+ uint16_t dc = (m_video_ram[aa + 1] << 8) | m_video_ram[aa];
offs_t ab = (dot_addr << 15) | ((dc & 0x7ff) << 4) | (ra & 0x0f);
- UINT16 dd = program.read_word(ab << 1);
+ uint16_t dd = program.read_word(ab << 1);
int cursor = (sx == cursor_x) ? 1 : 0;
int undln = !((dc & DC_UNDLN) && BIT(dd, 15)) ? 2 : 0;