mirror of
https://github.com/libretro/Play-.git
synced 2024-11-30 20:21:25 +00:00
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:
parent
89004e14f3
commit
ab85038514
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user