summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/ti74.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ti74.cpp')
-rw-r--r--src/mame/drivers/ti74.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/ti74.cpp b/src/mame/drivers/ti74.cpp
index 1594b129afe..3307a0d3473 100644
--- a/src/mame/drivers/ti74.cpp
+++ b/src/mame/drivers/ti74.cpp
@@ -97,10 +97,10 @@ public:
required_ioport_array<8> m_key_matrix;
required_ioport m_battery_inp;
- UINT8 m_key_select;
- UINT8 m_power;
+ uint8_t m_key_select;
+ uint8_t m_power;
- void update_lcd_indicator(UINT8 y, UINT8 x, int state);
+ void update_lcd_indicator(uint8_t y, uint8_t x, int state);
void update_battery_status(int state);
DECLARE_READ8_MEMBER(keyboard_r);
@@ -126,7 +126,7 @@ public:
DEVICE_IMAGE_LOAD_MEMBER(ti74_state, ti74_cartridge)
{
- UINT32 size = m_cart->common_get_size("rom");
+ uint32_t size = m_cart->common_get_size("rom");
// max size is 32KB
if (size > 0x8000)
@@ -156,7 +156,7 @@ PALETTE_INIT_MEMBER(ti74_state, ti74)
palette.set_pen_color(2, rgb_t(131, 136, 139)); // lcd pixel off
}
-void ti74_state::update_lcd_indicator(UINT8 y, UINT8 x, int state)
+void ti74_state::update_lcd_indicator(uint8_t y, uint8_t x, int state)
{
// TI-74 ref._________________...
// output# |10 11 12 13 14 2 3 4
@@ -229,7 +229,7 @@ HD44780_PIXEL_UPDATE(ti74_state::ti95_pixel_update)
READ8_MEMBER(ti74_state::keyboard_r)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
// read selected keyboard rows
for (int i = 0; i < 8; i++)