summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/apogee.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/apogee.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/apogee.cpp')
-rw-r--r--src/mame/drivers/apogee.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/apogee.cpp b/src/mame/drivers/apogee.cpp
index fec2d5608fe..dce85b753b8 100644
--- a/src/mame/drivers/apogee.cpp
+++ b/src/mame/drivers/apogee.cpp
@@ -27,9 +27,9 @@ public:
: radio86_state(mconfig, type, tag),
m_speaker(*this, "speaker") { }
- UINT8 m_out0;
- UINT8 m_out1;
- UINT8 m_out2;
+ uint8_t m_out0;
+ uint8_t m_out1;
+ uint8_t m_out2;
DECLARE_WRITE_LINE_MEMBER(pit8253_out0_changed);
DECLARE_WRITE_LINE_MEMBER(pit8253_out1_changed);
DECLARE_WRITE_LINE_MEMBER(pit8253_out2_changed);
@@ -144,7 +144,7 @@ static INPUT_PORTS_START( apogee )
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Rus/Lat") PORT_CODE(KEYCODE_LALT) PORT_CODE(KEYCODE_RALT)
INPUT_PORTS_END
-static const INT16 speaker_levels[] = {-32767, -10922, 10922, 32767};
+static const int16_t speaker_levels[] = {-32767, -10922, 10922, 32767};
WRITE_LINE_MEMBER(apogee_state::pit8253_out0_changed)
{
@@ -168,8 +168,8 @@ I8275_DRAW_CHARACTER_MEMBER(apogee_state::display_pixels)
{
int i;
const rgb_t *palette = m_palette->palette()->entry_list_raw();
- const UINT8 *charmap = m_charmap + (gpa & 1) * 0x400;
- UINT8 pixels = charmap[(linecount & 7) + (charcode << 3)] ^ 0xff;
+ const uint8_t *charmap = m_charmap + (gpa & 1) * 0x400;
+ uint8_t pixels = charmap[(linecount & 7) + (charcode << 3)] ^ 0xff;
if(linecount == 8)
pixels = 0;
if (vsp) {