mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-16 09:30:00 +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 ((nAddress >= pData->nStartAddress) && (nAddress < pData->nEndAddress))
|
||||
if ((nAddress >= pData->nStartAddress) && (nAddress <= pData->nEndAddress))
|
||||
{
|
||||
pData->iDirective = _NOP_REMOVED;
|
||||
|
||||
// TODO: delete from vector?
|
||||
}
|
||||
}
|
||||
pData++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user