diff options
author | 2017-12-30 14:04:05 +0100 | |
---|---|---|
committer | 2017-12-30 14:04:21 +0100 | |
commit | 35fffe0d2e847c6c1ecf6a6467535c15efd250bb (patch) | |
tree | 9b15eec6ea02d0f16e52c60919ee1248ef1cb6d0 /src/devices/bus/gameboy/mbc.cpp | |
parent | 62aef15114ff476cfeb14da5281f8128f5ad3a76 (diff) |
Remove a bunch of space.device().safe_pc() from devices (nw)
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) { |