mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-18 03:29:30 +00:00
Debugger: 2.9.1.2: Fixed: Off by one end address when deleting DisasmData_t
This commit is contained in:
parent
19b7d43327
commit
3985ee9abc
|
@ -671,9 +671,11 @@ void Disassembly_DelData( DisasmData_t tData)
|
||||||
{
|
{
|
||||||
if (pData->iDirective != _NOP_REMOVED)
|
if (pData->iDirective != _NOP_REMOVED)
|
||||||
{
|
{
|
||||||
if ((nAddress >= pData->nStartAddress) && (nAddress < pData->nEndAddress))
|
if ((nAddress >= pData->nStartAddress) && (nAddress <= pData->nEndAddress))
|
||||||
{
|
{
|
||||||
pData->iDirective = _NOP_REMOVED;
|
pData->iDirective = _NOP_REMOVED;
|
||||||
|
|
||||||
|
// TODO: delete from vector?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pData++;
|
pData++;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user