summaryrefslogtreecommitdiffstats
path: root/src/devices/bus/nes_ctrl/ftrainer.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/devices/bus/nes_ctrl/ftrainer.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/devices/bus/nes_ctrl/ftrainer.cpp')
-rw-r--r--src/devices/bus/nes_ctrl/ftrainer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/nes_ctrl/ftrainer.cpp b/src/devices/bus/nes_ctrl/ftrainer.cpp
index 93edab2425a..8a7a17d550d 100644
--- a/src/devices/bus/nes_ctrl/ftrainer.cpp
+++ b/src/devices/bus/nes_ctrl/ftrainer.cpp
@@ -83,7 +83,7 @@ ioport_constructor nes_ftrainer_device::device_input_ports() const
// nes_ftrainer_device - constructor
//-------------------------------------------------
-nes_ftrainer_device::nes_ftrainer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+nes_ftrainer_device::nes_ftrainer_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, NES_FTRAINER, "Bandai Family Trainer", tag, owner, clock, "nes_famtrain", __FILE__)
, device_nes_control_port_interface(mconfig, *this)
, m_trainer(*this, "FT_COL.%u", 0)
@@ -116,9 +116,9 @@ void nes_ftrainer_device::device_reset()
// read
//-------------------------------------------------
-UINT8 nes_ftrainer_device::read_exp(offs_t offset)
+uint8_t nes_ftrainer_device::read_exp(offs_t offset)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset == 1) //$4017
{
if (!BIT(m_row_scan, 0))
@@ -147,7 +147,7 @@ UINT8 nes_ftrainer_device::read_exp(offs_t offset)
// write
//-------------------------------------------------
-void nes_ftrainer_device::write(UINT8 data)
+void nes_ftrainer_device::write(uint8_t data)
{
// select row to scan
m_row_scan = data & 0x07;