mirror of
https://github.com/libretro/Play-.git
synced 2025-02-15 09:07:32 +00:00
Added assert to make sure PC is aligned on 4 bytes.
This commit is contained in:
parent
5766443dfe
commit
9ee88eb5ea
@ -201,6 +201,7 @@ unsigned int CBasicBlock::Execute()
|
||||
assert(m_context.m_State.nGPR[0].nV1 == 0);
|
||||
assert(m_context.m_State.nGPR[0].nV2 == 0);
|
||||
assert(m_context.m_State.nGPR[0].nV3 == 0);
|
||||
assert((m_context.m_State.nPC & 3) == 0);
|
||||
assert((m_context.m_State.nGPR[CMIPS::RA].nV0 & 3) == 0);
|
||||
assert(m_context.m_State.nCOP2[0].nV0 == 0x00000000);
|
||||
assert(m_context.m_State.nCOP2[0].nV1 == 0x00000000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user