fix gcc dislike of unions as PODs :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2549 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-03-04 20:05:45 +00:00
parent a03aa30895
commit 0ade8bfc56

View File

@ -86,7 +86,7 @@ GekkoOPInfo *GetOpInfo(UGeckoInstruction _inst)
case 59: return m_infoTable59[_inst.SUBOP5]; case 59: return m_infoTable59[_inst.SUBOP5];
case 63: return m_infoTable63[_inst.SUBOP10]; case 63: return m_infoTable63[_inst.SUBOP10];
default: default:
_assert_msg_(GEKKO,0,"GetOpInfo - invalid subtable op %08x @ %08x", _inst, PC); _assert_msg_(GEKKO,0,"GetOpInfo - invalid subtable op %08x @ %08x", _inst.hex, PC);
return 0; return 0;
} }
} }
@ -94,7 +94,7 @@ GekkoOPInfo *GetOpInfo(UGeckoInstruction _inst)
{ {
if ((info->type & 0xFFFFFF) == OPTYPE_INVALID) if ((info->type & 0xFFFFFF) == OPTYPE_INVALID)
{ {
_assert_msg_(GEKKO,0,"GetOpInfo - invalid op %08x @ %08x", _inst, PC); _assert_msg_(GEKKO,0,"GetOpInfo - invalid op %08x @ %08x", _inst.hex, PC);
return 0; return 0;
} }
return m_infoTable[_inst.OPCD]; return m_infoTable[_inst.OPCD];
@ -115,7 +115,7 @@ Interpreter::_interpreterInstruction GetInterpreterOp(UGeckoInstruction _inst)
case 59: return Interpreter::m_opTable59[_inst.SUBOP5]; case 59: return Interpreter::m_opTable59[_inst.SUBOP5];
case 63: return Interpreter::m_opTable63[_inst.SUBOP10]; case 63: return Interpreter::m_opTable63[_inst.SUBOP10];
default: default:
_assert_msg_(GEKKO,0,"GetInterpreterOp - invalid subtable op %08x @ %08x", _inst, PC); _assert_msg_(GEKKO,0,"GetInterpreterOp - invalid subtable op %08x @ %08x", _inst.hex, PC);
return 0; return 0;
} }
} }
@ -123,7 +123,7 @@ Interpreter::_interpreterInstruction GetInterpreterOp(UGeckoInstruction _inst)
{ {
if ((info->type & 0xFFFFFF) == OPTYPE_INVALID) if ((info->type & 0xFFFFFF) == OPTYPE_INVALID)
{ {
_assert_msg_(GEKKO,0,"GetInterpreterOp - invalid op %08x @ %08x", _inst, PC); _assert_msg_(GEKKO,0,"GetInterpreterOp - invalid op %08x @ %08x", _inst.hex, PC);
return 0; return 0;
} }
return Interpreter::m_opTable[_inst.OPCD]; return Interpreter::m_opTable[_inst.OPCD];