Added a little check to make sure the VF0 register doesn't get clobbered.

git-svn-id: http://svn.purei.org/purei/trunk@820 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
jpd002 2011-12-06 03:13:21 +00:00
parent 89004e14f3
commit ab85038514

View File

@ -89,6 +89,11 @@ unsigned int CBasicBlock::Execute()
m_context.m_State.nPC = m_end + 4;
}
assert(m_context.m_State.nCOP2[0].nV0 == 0x00000000);
assert(m_context.m_State.nCOP2[0].nV1 == 0x00000000);
assert(m_context.m_State.nCOP2[0].nV2 == 0x00000000);
assert(m_context.m_State.nCOP2[0].nV3 == 0x3F800000);
return ((m_end - m_begin) / 4) + 1;
}