summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/mephisto.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/mephisto.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/mephisto.cpp')
-rw-r--r--src/mame/drivers/mephisto.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/mephisto.cpp b/src/mame/drivers/mephisto.cpp
index 987e8442a92..b010de34dd8 100644
--- a/src/mame/drivers/mephisto.cpp
+++ b/src/mame/drivers/mephisto.cpp
@@ -99,11 +99,11 @@ public:
DECLARE_READ8_MEMBER(read_keys);
DECLARE_WRITE8_MEMBER(write_led);
DECLARE_WRITE8_MEMBER(write_led_mm2);
- UINT8 m_lcd_shift_counter;
- UINT8 m_led_status;
- //UINT8 *m_p_ram;
- UINT8 m_led7;
- UINT8 m_allowNMI;
+ uint8_t m_lcd_shift_counter;
+ uint8_t m_led_status;
+ //uint8_t *m_p_ram;
+ uint8_t m_led7;
+ uint8_t m_allowNMI;
DECLARE_DRIVER_INIT(mephisto);
virtual void machine_start() override;
virtual void machine_reset() override;
@@ -148,7 +148,7 @@ WRITE8_MEMBER( mephisto_state::mephisto_NMI )
READ8_MEMBER( mephisto_state::read_keys )
{
- UINT8 data = 0;
+ uint8_t data = 0;
if (((m_led_status & 0x80) == 0x00))
{
@@ -185,7 +185,7 @@ READ8_MEMBER( mephisto_state::read_keys )
WRITE8_MEMBER( mephisto_state::write_led )
{
- UINT8 LED_offset=100;
+ uint8_t LED_offset=100;
data &= 0x80;
if (data==0)m_led_status &= 255-(1<<offset) ; else m_led_status|=1<<offset;
@@ -196,7 +196,7 @@ WRITE8_MEMBER( mephisto_state::write_led )
WRITE8_MEMBER( mephisto_state::write_led_mm2 )
{
- UINT8 LED_offset=100;
+ uint8_t LED_offset=100;
data &= 0x80;
if (data==0)