summaryrefslogtreecommitdiff
path: root/src/cpu/addressing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/addressing.c')
-rw-r--r--src/cpu/addressing.c6
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);
}
}