mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-26 09:57:56 -05:00
dyncom: Make Load/Store instructions support big endian
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user