mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-16 10:22:40 +00: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