diff options
Diffstat (limited to 'src/devices/bus/gameboy/mbc.cpp')
-rw-r--r-- | src/devices/bus/gameboy/mbc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/gameboy/mbc.cpp b/src/devices/bus/gameboy/mbc.cpp index 4a48d896a94..4e182116deb 100644 --- a/src/devices/bus/gameboy/mbc.cpp +++ b/src/devices/bus/gameboy/mbc.cpp @@ -600,7 +600,7 @@ WRITE8_MEMBER(gb_rom_mbc6_device::write_bank) { if (offset < 0x2000) { - logerror( "0x%04X: write to mbc6 ram enable area: %04X <- 0x%02X\n", space.device().safe_pc(), offset, data ); + logerror( "%s write to mbc6 ram enable area: %04X <- 0x%02X\n", machine().describe_context(), offset, data ); } else if (offset < 0x3000) { @@ -647,18 +647,18 @@ WRITE8_MEMBER(gb_rom_mbc7_device::write_bank) if (offset < 0x2000) { // FIXME: Add RAM enable support - logerror("0x%04X: Write to ram enable register 0x%04X <- 0x%02X\n", space.device().safe_pc( ), offset, data); + logerror("%s Write to ram enable register 0x%04X <- 0x%02X\n", machine().describe_context(), offset, data); } else if (offset < 0x3000) { - logerror( "0x%04X: write to mbc7 rom select register: 0x%04X <- 0x%02X\n", space.device() .safe_pc( ), 0x2000 + offset, data ); + logerror( "%s write to mbc7 rom select register: 0x%04X <- 0x%02X\n", machine().describe_context(), 0x2000 + offset, data ); /* Bit 12 must be set for writing to the mbc register */ if (offset & 0x0100) m_latch_bank2 = data; } else { - logerror( "0x%04X: write to mbc7 rom area: 0x%04X <- 0x%02X\n", space.device() .safe_pc( ), 0x3000 + offset, data ); + logerror( "%s write to mbc7 rom area: 0x%04X <- 0x%02X\n", machine().describe_context(), 0x3000 + offset, data ); /* Bit 12 must be set for writing to the mbc register */ if (offset & 0x0100) { |