mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
Minor MIPS fixups.
This commit is contained in:
parent
0999c812aa
commit
d7325f1893
@ -421,7 +421,7 @@ private:
|
|||||||
UINT32 * offset_base32; /* base in memory where the RAM lives, 32-bit pointer, with the start offset pre-applied */
|
UINT32 * offset_base32; /* base in memory where the RAM lives, 32-bit pointer, with the start offset pre-applied */
|
||||||
} m_fastram[MIPS3_MAX_FASTRAM];
|
} m_fastram[MIPS3_MAX_FASTRAM];
|
||||||
|
|
||||||
UINT64 m_debugger_temp;
|
UINT32 m_debugger_temp;
|
||||||
|
|
||||||
/* core state */
|
/* core state */
|
||||||
drc_cache m_cache; /* pointer to the DRC code cache */
|
drc_cache m_cache; /* pointer to the DRC code cache */
|
||||||
|
@ -778,7 +778,7 @@ void mips3_device::static_generate_exception(UINT8 exception, int recover, const
|
|||||||
|
|
||||||
/* choose our target PC */
|
/* choose our target PC */
|
||||||
UML_ADD(block, I0, I3, 0xbfc00200); // add i0,i3,0xbfc00200
|
UML_ADD(block, I0, I3, 0xbfc00200); // add i0,i3,0xbfc00200
|
||||||
UML_TEST(block, I1, SR_BEV); // test i1,SR_BEV
|
UML_TEST(block, CPR032(COP0_Status), SR_BEV); // test CPR032(COP0_Status),SR_BEV
|
||||||
UML_JMPc(block, COND_NZ, skip); // jnz <skip>
|
UML_JMPc(block, COND_NZ, skip); // jnz <skip>
|
||||||
UML_ADD(block, I0, I3, 0x80000000); // add i0,i3,0x80000000,z
|
UML_ADD(block, I0, I3, 0x80000000); // add i0,i3,0x80000000,z
|
||||||
UML_LABEL(block, skip); // <skip>:
|
UML_LABEL(block, skip); // <skip>:
|
||||||
|
Loading…
Reference in New Issue
Block a user