diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-11-29 17:38:56 +1100 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-11-29 17:38:56 +1100 |
commit | 44a1ea6542c812b173fb9685837c0b2fdc6a7c61 (patch) | |
tree | 5ca86b97f79c38a07d4c532be6edcc12a887cbc1 /src/cpu/addressing.c | |
parent | 8d3aaacf14997bbac177ae37ccab4618264cf29c (diff) |
bug fix apple.c:9 + inconsequential refactoring
Diffstat (limited to 'src/cpu/addressing.c')
-rw-r--r-- | src/cpu/addressing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/addressing.c b/src/cpu/addressing.c index df632cf..f21e7da 100644 --- a/src/cpu/addressing.c +++ b/src/cpu/addressing.c @@ -29,9 +29,9 @@ address fAddressGetAddress(Addressing mode, short x) { case eZeroPageIndexedY: return ((x + Y) & 0x00FF); case eIndexedIndirect: - return ((getMemory(x+X+1))<<8) + (getMemory(x+X)); + return ((GetMemory(x+X+1))<<8) + (GetMemory(x+X)); case eIndirectIndexed: - return ((getMemory(x+1))<<8) + (getMemory(x)) + Y; + return ((GetMemory(x+1))<<8) + (GetMemory(x)) + Y; } } @@ -57,7 +57,7 @@ byte fAddressGetValue(Addressing mode, short x, address addr) { case eAccumulator: return acc; default: - return getMemory(addr); + return GetMemory(addr); } } |