fix gcc 4.6 compile (nw)

This commit is contained in:
R. Belmont 2012-03-10 01:07:04 +00:00
parent 605432768d
commit 6cac56ea05

View File

@ -99,14 +99,14 @@ inline int tms57002_device::sfma(UINT32 st1)
void tms57002_device::decode_error(UINT32 opcode) void tms57002_device::decode_error(UINT32 opcode)
{ {
char buf[256]; char buf[256];
UINT8 opr[3]; // UINT8 opr[3];
if(unsupported_inst_warning) if(unsupported_inst_warning)
return; return;
unsupported_inst_warning = 1; unsupported_inst_warning = 1;
opr[0] = opcode; // opr[0] = opcode;
opr[1] = opcode >> 8; // opr[1] = opcode >> 8;
opr[2] = opcode >> 16; // opr[2] = opcode >> 16;
// CPU_DECODEEMBLE_NAME(tms57002)(0, buf, s->pc, opr, opr, 0); // CPU_DECODEEMBLE_NAME(tms57002)(0, buf, s->pc, opr, opr, 0);
popmessage("tms57002: %s - Contact Mamedev", buf); popmessage("tms57002: %s - Contact Mamedev", buf);