summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/fireball.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/fireball.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/fireball.cpp')
-rw-r--r--src/mame/drivers/fireball.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/fireball.cpp b/src/mame/drivers/fireball.cpp
index 12fa1e114fa..bb8385e6cc5 100644
--- a/src/mame/drivers/fireball.cpp
+++ b/src/mame/drivers/fireball.cpp
@@ -50,13 +50,13 @@ public:
m_eeprom(*this, "eeprom")
{ }
- UINT8 m_p1_data;
- UINT8 m_p3_data;
- UINT8 int_timing;
- UINT8 int_data;
- UINT8 ay_data;
- UINT8 to_ay_data;
- UINT8 m_display_data;
+ uint8_t m_p1_data;
+ uint8_t m_p3_data;
+ uint8_t int_timing;
+ uint8_t int_data;
+ uint8_t ay_data;
+ uint8_t to_ay_data;
+ uint8_t m_display_data;
DECLARE_WRITE8_MEMBER(io_00_w);
DECLARE_READ8_MEMBER(io_00_r);
@@ -92,7 +92,7 @@ private:
READ8_MEMBER(fireball_state::io_00_r)
{
- UINT8 tmp=0;
+ uint8_t tmp=0;
tmp=ioport("X2-4")->read();
@@ -130,7 +130,7 @@ WRITE8_MEMBER(fireball_state::io_00_w)
READ8_MEMBER(fireball_state::io_02_r)
{
- UINT8 tmp=0;
+ uint8_t tmp=0;
tmp=ioport("X6-8")->read();
@@ -156,7 +156,7 @@ WRITE8_MEMBER(fireball_state::io_02_w)
READ8_MEMBER(fireball_state::io_04_r)
{ //contraves per mod prog
- UINT8 tmp=0;
+ uint8_t tmp=0;
tmp=ioport("X10-12")->read();
@@ -192,15 +192,15 @@ WRITE8_MEMBER(fireball_state::io_06_w)
to_ay_data= data;
if (LOG_DISPLAY2)
- logerror("On board display write %02X\n",UINT8(~(data&0xff)));
+ logerror("On board display write %02X\n",uint8_t(~(data&0xff)));
- output().set_digit_value(7, UINT8(~(data&0xff)));
+ output().set_digit_value(7, uint8_t(~(data&0xff)));
}
READ8_MEMBER(fireball_state::p1_r)
{
- UINT8 tmp=0;
+ uint8_t tmp=0;
tmp=(m_p1_data&0xfe)|(m_eeprom->do_read());
if (LOG_P1)
logerror("readP1 port data %02X\n",tmp&0x01);
@@ -268,7 +268,7 @@ WRITE8_MEMBER(fireball_state::io_06_w)
READ8_MEMBER(fireball_state::p3_r)
{
- UINT8 ret = 0xfb | ((int_data&1)<<2);
+ uint8_t ret = 0xfb | ((int_data&1)<<2);
if (LOG_P3)
logerror("read P3 port data = %02X\n",ret);
return ret;