mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
tlc34076.cpp : Remove unnecessary address_space arguments (nw)
This commit is contained in:
parent
74ff29e228
commit
8a649bdb71
@ -127,7 +127,7 @@ void tlc34076_device::update_pen(uint8_t i)
|
||||
// read - read access
|
||||
//-------------------------------------------------
|
||||
|
||||
READ8_MEMBER( tlc34076_device::read )
|
||||
u8 tlc34076_device::read(offs_t offset)
|
||||
{
|
||||
uint8_t result;
|
||||
|
||||
@ -161,7 +161,7 @@ READ8_MEMBER( tlc34076_device::read )
|
||||
// write - write access
|
||||
//-------------------------------------------------
|
||||
|
||||
WRITE8_MEMBER( tlc34076_device::write )
|
||||
void tlc34076_device::write(offs_t offset, u8 data)
|
||||
{
|
||||
// uint8_t oldval;
|
||||
|
||||
|
@ -41,8 +41,8 @@ public:
|
||||
void set_bits(tlc34076_bits bits) { m_dacbits = bits; }
|
||||
|
||||
// public interface
|
||||
DECLARE_READ8_MEMBER(read);
|
||||
DECLARE_WRITE8_MEMBER(write);
|
||||
u8 read(offs_t offset);
|
||||
void write(offs_t offset, u8 data);
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
|
@ -840,12 +840,12 @@ READ16_MEMBER(itech8_state::rom_constant_r)
|
||||
|
||||
READ8_MEMBER(itech8_state::ninclown_palette_r)
|
||||
{
|
||||
return m_tlc34076->read(space, offset / 16);
|
||||
return m_tlc34076->read(offset / 16);
|
||||
}
|
||||
|
||||
WRITE8_MEMBER(itech8_state::ninclown_palette_w)
|
||||
{
|
||||
m_tlc34076->write(space, offset / 16, data);
|
||||
m_tlc34076->write(offset / 16, data);
|
||||
}
|
||||
|
||||
|
||||
|
@ -113,7 +113,7 @@ READ16_MEMBER(skeetsht_state::ramdac_r)
|
||||
if (offset & 8)
|
||||
offset = (offset & ~8) | 4;
|
||||
|
||||
return m_tlc34076->read(space, offset);
|
||||
return m_tlc34076->read(offset);
|
||||
}
|
||||
|
||||
WRITE16_MEMBER(skeetsht_state::ramdac_w)
|
||||
@ -123,7 +123,7 @@ WRITE16_MEMBER(skeetsht_state::ramdac_w)
|
||||
if (offset & 8)
|
||||
offset = (offset & ~8) | 4;
|
||||
|
||||
m_tlc34076->write(space, offset, data);
|
||||
m_tlc34076->write(offset, data);
|
||||
}
|
||||
|
||||
|
||||
|
@ -127,13 +127,13 @@ WRITE16_MEMBER( btoads_state::scroll1_w )
|
||||
|
||||
WRITE16_MEMBER( btoads_state::paletteram_w )
|
||||
{
|
||||
m_tlc34076->write(space, offset/2, data);
|
||||
m_tlc34076->write(offset/2, data);
|
||||
}
|
||||
|
||||
|
||||
READ16_MEMBER( btoads_state::paletteram_r )
|
||||
{
|
||||
return m_tlc34076->read(space, offset/2);
|
||||
return m_tlc34076->read(offset/2);
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,7 +165,7 @@ void itech8_state::video_start()
|
||||
|
||||
WRITE8_MEMBER(itech8_state::palette_w)
|
||||
{
|
||||
m_tlc34076->write(space, offset/2, data);
|
||||
m_tlc34076->write(offset/2, data);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user