Skip to content

Commit b7bb565

Browse files
bfm_cobra3.cpp: Missed unused variable (nw)
1 parent 5524834 commit b7bb565

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mame/bfm/bfm_cobra3.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ class bfm_cobra3_state : public driver_device
8282

8383
uint16_t bfm_cobra3_state::bfm_cobra3_mem_r(offs_t offset, uint16_t mem_mask)
8484
{
85-
int pc = m_maincpu->pc();
8685
int cs = m_maincpu->get_cs(offset * 2);
8786

8887
switch ( cs )
@@ -150,7 +149,6 @@ uint16_t bfm_cobra3_state::bfm_cobra3_mem_r(offs_t offset, uint16_t mem_mask)
150149

151150
void bfm_cobra3_state::bfm_cobra3_mem_w(offs_t offset, uint16_t data, uint16_t mem_mask)
152151
{
153-
int pc = m_maincpu->pc();
154152
int cs = m_maincpu->get_cs(offset * 2);
155153

156154
switch (cs)
@@ -238,7 +236,7 @@ void bfm_cobra3_state::bfm_cobra3_mem_w(offs_t offset, uint16_t data, uint16_t m
238236
break;
239237

240238
default:
241-
logerror("%08x maincpu write access(0) offset %08x data %08x mem_mask %08x cs %d\n", pc, offset*4, data, mem_mask, cs);
239+
logerror("%s maincpu write access(0) offset %08x data %08x mem_mask %08x cs %d\n", machine().describe_context(), offset*4, data, mem_mask, cs);
242240
break;
243241
}
244242
}

0 commit comments

Comments
 (0)