Do not treat jump destinations as data accesses
The two JMP instructions have address modes that imply a data access occurs. All branch instructions and JSR have `optype` 0, so they don't have this problem.
This commit is contained in:
parent
9da80206f8
commit
65f4a482d5
|
@ -554,7 +554,7 @@ void LogCDData(uint8 *opcode, uint16 A, int size)
|
||||||
case 4: memop = 0x20; break;
|
case 4: memop = 0x20; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((j = GetPRGAddress(A)) != -1)
|
if (((j = GetPRGAddress(A)) != -1) && (opcode[0] != 0x4C) && (opcode[0] != 0x6C))
|
||||||
{
|
{
|
||||||
if (opwrite[opcode[0]] == 0)
|
if (opwrite[opcode[0]] == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue