summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/hh_sm510.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hh_sm510.cpp')
-rw-r--r--src/mame/drivers/hh_sm510.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp
index 0a3b5263a30..2d9f21322df 100644
--- a/src/mame/drivers/hh_sm510.cpp
+++ b/src/mame/drivers/hh_sm510.cpp
@@ -34,11 +34,11 @@ public:
optional_device<speaker_sound_device> m_speaker;
// misc common
- UINT16 m_inp_mux; // multiplexed inputs mask
+ uint16_t m_inp_mux; // multiplexed inputs mask
int m_inp_lines; // number of input mux columns
- UINT8 m_lcd_output_cache[0x100];
+ uint8_t m_lcd_output_cache[0x100];
- UINT8 read_inputs(int columns);
+ uint8_t read_inputs(int columns);
virtual void update_k_line();
virtual DECLARE_INPUT_CHANGED_MEMBER(input_changed);
@@ -87,7 +87,7 @@ WRITE16_MEMBER(hh_sm510_state::lcd_segment_w)
for (int seg = 0; seg < 0x10; seg++)
{
int index = offset << 4 | seg;
- UINT8 state = data >> seg & 1;
+ uint8_t state = data >> seg & 1;
if (state != m_lcd_output_cache[index])
{
@@ -107,9 +107,9 @@ WRITE16_MEMBER(hh_sm510_state::lcd_segment_w)
// generic input handlers - usually S output is input mux, and K input for buttons
-UINT8 hh_sm510_state::read_inputs(int columns)
+uint8_t hh_sm510_state::read_inputs(int columns)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
// read selected input rows
for (int i = 0; i < columns; i++)