summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-01-28 12:45:24 +1100
committer Vas Crabb <vas@vastheman.com>2018-01-28 12:45:24 +1100
commitb0755f50e606c85fc7348ddc47a993fc60ed30a0 (patch)
treed8845130644709b3f676af8b22cc2a4f90c22697
parent8a3d831367972fde2d49091545d9ef762f7d482a (diff)
AM_SHARE not needed here (nw)
-rw-r--r--src/mame/drivers/playch10.cpp3
-rw-r--r--src/mame/includes/playch10.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/mame/drivers/playch10.cpp b/src/mame/drivers/playch10.cpp
index da21bba2c21..19f2c1f24b0 100644
--- a/src/mame/drivers/playch10.cpp
+++ b/src/mame/drivers/playch10.cpp
@@ -343,7 +343,6 @@ WRITE8_MEMBER(playch10_state::time_w)
{
constexpr static uint8_t DIGIT_MAP[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
- m_timedata[offset] = data;
m_timedigits[offset] = DIGIT_MAP[data & 0x0f];
}
@@ -368,7 +367,7 @@ static ADDRESS_MAP_START( bios_io_map, AS_IO, 8, playch10_state )
AM_RANGE(0x03, 0x03) AM_READ(pc10_detectclr_r)
AM_RANGE(0x00, 0x07) AM_DEVWRITE("outlatch1", ls259_device, write_d0)
AM_RANGE(0x08, 0x0f) AM_DEVWRITE("outlatch2", ls259_device, write_d0)
- AM_RANGE(0x10, 0x13) AM_WRITE(time_w) AM_SHARE("timedata")
+ AM_RANGE(0x10, 0x13) AM_WRITE(time_w)
ADDRESS_MAP_END
static ADDRESS_MAP_START( cart_map, AS_PROGRAM, 8, playch10_state )
diff --git a/src/mame/includes/playch10.h b/src/mame/includes/playch10.h
index 8afea34a16d..d4ad57afbeb 100644
--- a/src/mame/includes/playch10.h
+++ b/src/mame/includes/playch10.h
@@ -18,7 +18,6 @@ public:
, m_rp5h01(*this, "rp5h01")
, m_ram_8w(*this, "ram_8w")
, m_videoram(*this, "videoram")
- , m_timedata(*this, "timedata")
, m_work_ram(*this, "work_ram")
, m_gfxdecode(*this, "gfxdecode")
, m_vrom_region(*this, "gfx2")
@@ -120,7 +119,6 @@ private:
required_shared_ptr<uint8_t> m_ram_8w;
required_shared_ptr<uint8_t> m_videoram;
- required_shared_ptr<uint8_t> m_timedata;
required_shared_ptr<uint8_t> m_work_ram;
required_device<gfxdecode_device> m_gfxdecode;