1
0
mirror of synced 2025-02-17 18:59:21 +01:00

sys: Fixed disassembler selecting wrong region

This commit is contained in:
WerWolv 2021-06-06 18:01:52 +02:00
parent 73b5c8512d
commit be81a6dc34

View File

@ -20,7 +20,7 @@ namespace hex {
EventManager::subscribe<EventRegionSelected>(this, [this](Region region) {
if (this->m_shouldMatchSelection) {
this->m_codeRegion[0] = region.address;
this->m_codeRegion[1] = region.address + region.size - 1;
this->m_codeRegion[1] = region.address + region.size;
}
});
}