1
0
mirror of synced 2024-11-24 07:40:17 +01:00

fix: Disassembler always using little endian, no matter the setting

Fixes #1763
This commit is contained in:
WerWolv 2024-06-16 15:06:30 +02:00
parent 3ce9dbb278
commit 33885b863a

View File

@ -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();
}
}