fix: Disassembler always using little endian, no matter the setting
Fixes #1763
This commit is contained in:
parent
3ce9dbb278
commit
33885b863a
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user