mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Disassembler always using little endian, no matter the setting
Fixes #1763
This commit is contained in:
@@ -372,6 +372,12 @@ namespace hex::plugin::disasm {
|
||||
break;
|
||||
}
|
||||
|
||||
if (littleEndian) {
|
||||
m_mode = cs_mode(u32(m_mode) | CS_MODE_LITTLE_ENDIAN);
|
||||
} else {
|
||||
m_mode = cs_mode(u32(m_mode) | CS_MODE_BIG_ENDIAN);
|
||||
}
|
||||
|
||||
ImGuiExt::EndBox();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user