summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/megaphx.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/megaphx.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/megaphx.cpp')
-rw-r--r--src/mame/drivers/megaphx.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/megaphx.cpp b/src/mame/drivers/megaphx.cpp
index 6d52fc87404..56581c376f4 100644
--- a/src/mame/drivers/megaphx.cpp
+++ b/src/mame/drivers/megaphx.cpp
@@ -84,7 +84,7 @@ public:
}
required_device<cpu_device> m_maincpu;
- required_shared_ptr<UINT16> m_mainram;
+ required_shared_ptr<uint16_t> m_mainram;
@@ -102,9 +102,9 @@ public:
int m_pic_clock;
int m_pic_readbit;
- UINT16 m_pic_result;
+ uint16_t m_pic_result;
- UINT8 port_c_value;
+ uint8_t port_c_value;
required_device<inder_sb_device> m_indersb;
required_device<inder_vid_device> m_indervid;
@@ -245,7 +245,7 @@ READ8_MEMBER(megaphx_state::port_c_r)
//printf("read port c - write value was %02x\n", port_c_value);
// int pc = machine().device("maincpu")->safe_pc();
- UINT8 ret = 0;
+ uint8_t ret = 0;
// printf("(%06x) port_c_r (thru 8255)\n", pc);
@@ -370,7 +370,7 @@ MACHINE_CONFIG_END
DRIVER_INIT_MEMBER(megaphx_state,megaphx)
{
- UINT16 *src = (UINT16*)memregion( "roms67" )->base();
+ uint16_t *src = (uint16_t*)memregion( "roms67" )->base();
// copy vector table? - it must be writable because the game write the irq vector..
memcpy(m_mainram, src, 0x80);