mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Fix unused var
This commit is contained in:
parent
dad79cb4d2
commit
a8dec7ae70
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user