summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/chessmst.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/chessmst.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/chessmst.cpp')
-rw-r--r--src/mame/drivers/chessmst.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/chessmst.cpp b/src/mame/drivers/chessmst.cpp
index 0da9d76a24f..1b4687e0596 100644
--- a/src/mame/drivers/chessmst.cpp
+++ b/src/mame/drivers/chessmst.cpp
@@ -41,12 +41,12 @@ public:
optional_device<beep_device> m_beeper;
required_ioport m_extra;
- UINT16 m_matrix;
- UINT16 m_led_sel;
- UINT8 m_sensor[64];
- UINT8 m_digit_matrix;
+ uint16_t m_matrix;
+ uint16_t m_led_sel;
+ uint8_t m_sensor[64];
+ uint8_t m_digit_matrix;
int m_digit_dot;
- UINT16 m_digit;
+ uint16_t m_digit;
virtual void machine_reset() override;
@@ -117,7 +117,7 @@ INPUT_CHANGED_MEMBER(chessmst_state::view_monitor_button)
INPUT_CHANGED_MEMBER(chessmst_state::chessmst_sensor)
{
- UINT8 pos = (UINT8)(uintptr_t)param;
+ uint8_t pos = (uint8_t)(uintptr_t)param;
if (newval)
{
@@ -314,7 +314,7 @@ WRITE8_MEMBER( chessmst_state::pio1_port_b_dm_w )
READ8_MEMBER( chessmst_state::pio2_port_a_r )
{
- UINT8 data = 0x00;
+ uint8_t data = 0x00;
// The pieces position on the chessboard is identified by 64 Hall
// sensors, which are in a 8x8 matrix with the corresponding LEDs.