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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/addressing.c b/src/cpu/addressing.c
index 97ebb00..3fd640a 100644
--- a/src/cpu/addressing.c
+++ b/src/cpu/addressing.c
@@ -169,7 +169,7 @@ AddData fAddress(Addressing mode, short x) {
AddData ret;
ret.add = fAddressGetAddress (mode, x);
ret.value = fAddressGetValue (mode, x, ret.add);
- ret.length = fAddressGetLength (mode, x);
+ ret.length = fAddressGetLength (mode);
ret.cycles = fAddressGetCycles (mode, x, ret.add);
return ret;
} \ No newline at end of file