AM_SHARE not needed here (nw)

This commit is contained in:
Vas Crabb 2018-01-28 12:45:24 +11:00
parent 8a3d831367
commit b0755f50e6
2 changed files with 1 additions and 4 deletions

View File

@ -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 )

View File

@ -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;