Fix unused var

This commit is contained in:
Vas Crabb 2015-04-17 09:46:17 +10:00
parent dad79cb4d2
commit a8dec7ae70

View File

@ -534,10 +534,10 @@ ATTR_COLD offs_t netlist_mame_cpu_device_t::disasm_disassemble(char *buffer, off
{
//char tmp[16];
unsigned startpc = pc;
int relpc = pc - m_genPC;
//UINT16 opcode = (oprom[pc - startpc] << 8) | oprom[pc+1 - startpc];
//UINT8 inst = opcode >> 13;
#if 0
int relpc = pc - m_genPC;
UINT16 opcode = (oprom[pc - startpc] << 8) | oprom[pc+1 - startpc];
UINT8 inst = opcode >> 13;
if (relpc >= 0 && relpc < netlist().queue().count())
{
// sprintf(buffer, "%04x %02d %s", pc, relpc, netlist().queue()[netlist().queue().count() - relpc - 1].object().name().cstr());