mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
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:
parent
a03aa30895
commit
0ade8bfc56
@ -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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user