mirror of https://github.com/stella-emu/stella.git
Fixed trap'm' debugger commands when setting TIA addresses.
This commit is contained in:
parent
f66a61f3b7
commit
07287fe761
|
@ -1508,10 +1508,12 @@ void DebuggerParser::executeTrapMRW(bool read, bool write)
|
||||||
{
|
{
|
||||||
for(uInt32 i = beg; i <= end; ++i)
|
for(uInt32 i = beg; i <= end; ++i)
|
||||||
{
|
{
|
||||||
if((i & 0x1080) == 0x0000 && (i & 0x003F) == addr)
|
if((i & 0x1080) == 0x0000)
|
||||||
{
|
{
|
||||||
if(read) debugger.toggleReadTrap(i);
|
if(read && (i & 0x000F) == addr)
|
||||||
if(write) debugger.toggleWriteTrap(i);
|
debugger.toggleReadTrap(i);
|
||||||
|
if(write && (i & 0x003F) == addr)
|
||||||
|
debugger.toggleWriteTrap(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue