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:
Jay Oster 2024-09-13 12:37:11 -07:00
parent 9da80206f8
commit 65f4a482d5
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ void LogCDData(uint8 *opcode, uint16 A, int size)
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)
{