diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-12-03 11:32:39 +1100 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-12-03 11:32:39 +1100 |
commit | 991c09b01e6b099a5b00d7a9236d252b85a714b5 (patch) | |
tree | bee9445cbd318bbf7a805c80b5bc4b94517b44df /src/cpu | |
parent | 7a5672d085399d0de9d2c77431ea7a2f089faacb (diff) |
half-fixed infinite loop; new debug util, old one out
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/instructions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/instructions.c b/src/cpu/instructions.c index da093ec..2d4fc9e 100644 --- a/src/cpu/instructions.c +++ b/src/cpu/instructions.c @@ -309,7 +309,7 @@ void fPLP(Addressing addr, address val){ void fJSR(Addressing addr, address val){ SetStack((PC+3) >> 8); SetStack((PC+3) & 0x00FF); - PC = idata.add; + PC = idata.add; PC -= 3; } void fRTS(Addressing addr, address val){ |