dyncom: Make Load/Store instructions support big endian
This commit is contained in:
parent
f280806214
commit
9fdb311d6e
7 changed files with 204 additions and 81 deletions
|
@ -201,3 +201,9 @@ u32 ARMul_UnsignedSatQ(s32 value, u8 shift, bool* saturation_occurred)
|
|||
*saturation_occurred = false;
|
||||
return (u32)value;
|
||||
}
|
||||
|
||||
// Whether or not the given CPU is in big endian mode (E bit is set)
|
||||
bool InBigEndianMode(ARMul_State* cpu)
|
||||
{
|
||||
return (cpu->Cpsr & (1 << 9)) != 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue