summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/idsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/idsa.cpp')
-rw-r--r--src/mame/drivers/idsa.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/idsa.cpp b/src/mame/drivers/idsa.cpp
index ac9367e8491..3df6f9cd924 100644
--- a/src/mame/drivers/idsa.cpp
+++ b/src/mame/drivers/idsa.cpp
@@ -50,7 +50,7 @@ public:
DECLARE_WRITE8_MEMBER(ay2_b_w);
private:
- UINT16 m_irqcnt;
+ uint16_t m_irqcnt;
virtual void machine_reset() override;
required_device<cpu_device> m_maincpu;
required_device<sp0256_device> m_speech;
@@ -208,8 +208,8 @@ INPUT_PORTS_END
// This came from pinmame, even though there's no spb640 chip
READ8_MEMBER( idsa_state::portb0_r )
{
- UINT16 data = m_speech->spb640_r(space, offset / 2);
- return offset % 2 ? (UINT8)(data >> 8) : (UINT8)(data & 0xff);
+ uint16_t data = m_speech->spb640_r(space, offset / 2);
+ return offset % 2 ? (uint8_t)(data >> 8) : (uint8_t)(data & 0xff);
}
// ports 80 & 90 for the display