summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cps3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cps3.cpp')
-rw-r--r--src/mame/drivers/cps3.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/cps3.cpp b/src/mame/drivers/cps3.cpp
index 43c7bd7a0f6..af0104474a6 100644
--- a/src/mame/drivers/cps3.cpp
+++ b/src/mame/drivers/cps3.cpp
@@ -1404,22 +1404,22 @@ READ32_MEMBER(cps3_state::cps3_gfxflash_r)
if (ACCESSING_BITS_24_31) // GFX Flash 1
{
- logerror("read GFX flash chip %s addr %02x\n", chip0->tag().c_str(), (offset<<1));
+ logerror("read GFX flash chip %s addr %02x\n", chip0->tag(), (offset<<1));
result |= chip0->read( (offset<<1) ) << 24;
}
if (ACCESSING_BITS_16_23) // GFX Flash 2
{
- logerror("read GFX flash chip %s addr %02x\n", chip1->tag().c_str(), (offset<<1));
+ logerror("read GFX flash chip %s addr %02x\n", chip1->tag(), (offset<<1));
result |= chip1->read( (offset<<1) ) << 16;
}
if (ACCESSING_BITS_8_15) // GFX Flash 1
{
- logerror("read GFX flash chip %s addr %02x\n", chip0->tag().c_str(), (offset<<1)+1);
+ logerror("read GFX flash chip %s addr %02x\n", chip0->tag(), (offset<<1)+1);
result |= chip0->read( (offset<<1)+0x1 ) << 8;
}
if (ACCESSING_BITS_0_7) // GFX Flash 2
{
- logerror("read GFX flash chip %s addr %02x\n", chip1->tag().c_str(), (offset<<1)+1);
+ logerror("read GFX flash chip %s addr %02x\n", chip1->tag(), (offset<<1)+1);
result |= chip1->read( (offset<<1)+0x1 ) << 0;
}
@@ -1444,19 +1444,19 @@ WRITE32_MEMBER(cps3_state::cps3_gfxflash_w)
if (ACCESSING_BITS_24_31) // GFX Flash 1
{
command = (data >> 24) & 0xff;
- logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag().c_str(), (offset<<1), command);
+ logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag(), (offset<<1), command);
chip0->write( (offset<<1), command);
}
if (ACCESSING_BITS_16_23) // GFX Flash 2
{
command = (data >> 16) & 0xff;
- logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip1->tag().c_str(), (offset<<1), command);
+ logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip1->tag(), (offset<<1), command);
chip1->write( (offset<<1), command);
}
if (ACCESSING_BITS_8_15) // GFX Flash 1
{
command = (data >> 8) & 0xff;
- logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag().c_str(), (offset<<1)+1, command);
+ logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag(), (offset<<1)+1, command);
chip0->write( (offset<<1)+0x1, command);
}
if (ACCESSING_BITS_0_7) // GFX Flash 2
@@ -1551,25 +1551,25 @@ void cps3_state::cps3_flashmain_w(int which, UINT32 offset, UINT32 data, UINT32
if (ACCESSING_BITS_24_31) // Flash 1
{
command = (data >> 24) & 0xff;
- logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][0]->tag().c_str(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][0]->tag(), offset, command);
m_simm[which][0]->write(offset, command);
}
if (ACCESSING_BITS_16_23) // Flash 2
{
command = (data >> 16) & 0xff;
- logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][1]->tag().c_str(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][1]->tag(), offset, command);
m_simm[which][1]->write(offset, command);
}
if (ACCESSING_BITS_8_15) // Flash 2
{
command = (data >> 8) & 0xff;
- logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][2]->tag().c_str(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][2]->tag(), offset, command);
m_simm[which][2]->write(offset, command);
}
if (ACCESSING_BITS_0_7) // Flash 2
{
command = (data >> 0) & 0xff;
- logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][3]->tag().c_str(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][3]->tag(), offset, command);
m_simm[which][3]->write(offset, command);
}