sys: Fixed disassembler selecting wrong region
This commit is contained in:
parent
73b5c8512d
commit
be81a6dc34
@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user