diff options
Diffstat (limited to 'src/mame/drivers/mpf1.cpp')
-rw-r--r-- | src/mame/drivers/mpf1.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/mpf1.cpp b/src/mame/drivers/mpf1.cpp index 5f0b9eeb78b..cb5f0db7e9c 100644 --- a/src/mame/drivers/mpf1.cpp +++ b/src/mame/drivers/mpf1.cpp @@ -247,7 +247,7 @@ TIMER_CALLBACK_MEMBER(mpf1_state::led_refresh) READ8_MEMBER( mpf1_state::ppi_pa_r ) { - UINT8 data = 0x7f; + uint8_t data = 0x7f; /* bit 0 to 5, keyboard rows 0 to 5 */ if (!BIT(m_lednum, 0)) data &= m_pc0->read(); @@ -269,7 +269,7 @@ READ8_MEMBER( mpf1_state::ppi_pa_r ) WRITE8_MEMBER( mpf1_state::ppi_pb_w ) { /* swap bits around for the mame 7-segment emulation */ - UINT8 led_data = BITSWAP8(data, 6, 1, 2, 0, 7, 5, 4, 3); + uint8_t led_data = BITSWAP8(data, 6, 1, 2, 0, 7, 5, 4, 3); /* timer to update segments */ m_led_refresh_timer->adjust(attotime::from_usec(70), led_data); @@ -311,7 +311,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(mpf1_state::check_halt_callback) { // halt-LED; the red one, is turned on when the processor is halted // TODO: processor seems to halt, but restarts(?) at 0x0000 after a while -> fix - INT64 led_halt = m_maincpu->state_int(Z80_HALT); + int64_t led_halt = m_maincpu->state_int(Z80_HALT); output().set_led_value(1, led_halt); } |